EF Code First: FLOAT Columns generate [Column(TypeName = "float")], which give errors

When I create a simple table with a FLOAT(126) column and add an ADO.NET Entity Data Model with Code first from the database I get a decimal for the FLOAT column with the following ColumnAttribute: [Column(TypeName = "float")].
When I try to add a controller for this generated Code First class, it fails with the following message:
Error:
There was an error running the selected code generator:
'Unable to retrieve metadata for 'MyNamespace.TEMP_WITHFLOAT'.
Schema specified is not valid. Errors:
(8,12) : error 2019: Member Mapping specified is not valid. The type 'Edm.Decimal[Nullable=False,DefaultValie=,Precision=38,Scale=0]' of member 'FLOATCOL' in type 'MyNamespace.TEMP_WITHFLOAT' is not compatible with 'SqlServer.float[Nullable=False,DefaultValue=]' of member 'FLOATCOL' in type 'MySchema.TEMP_WITHFLOAT'.'
It fails with the same error if I specify other values for precision and scale (or remove the lines entirely) in the code invoking HasPrecision in the generated model.
The error message when trying to add a controller for the generated class:
But - if I remove the attribute [Column(TypeName = "float")] from the generated Code First class, the controller is created without errors, and works as it should, returning decimal numbers correctly (it happily ignores that the scale is set to 0 in the generated model).
The generated class with the ColumnAttribute removed:
    [Table("MYDBSCHEMA.TEMP_WITHFLOAT")]
    public partial class TEMP_WITHFLOAT
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        //[Column(TypeName = "float")]
        public decimal FLOATCOL { get; set; }
Correct JSON output from working controller:
[ { "ID": 1, "FLOATCOL": 123.0 }, { "ID": 2, "FLOATCOL": 123.456789012345 } ]
It would be very nice if the Code First generated classes worked out of the box, without a required step to manually remove the Column attribute for every FLOAT column.
Is there a workaround or other solution to this problem? The best solution would be if the generated code is mapped correctly between compatible database and C# types.
Simple code to reproduce the issue:
SQL script for the table:
CREATE TABLE "TEMP_WITHFLOAT"
   ( "ID" NUMBER(10,0) NOT NULL ENABLE,
  "FLOATCOL" FLOAT(126) NOT NULL ENABLE
   ) PCTFREE 10 INITRANS 1 NOCOMPRESS LOGGING;
ALTER TABLE "TEMP_WITHFLOAT" ADD CONSTRAINT "PK_TEMP_WITHFLOAT" PRIMARY KEY ("ID") ENABLE;
The generated class:
   [Table("MYDBSCHEMA.TEMP_WITHFLOAT")]
    public partial class TEMP_WITHFLOAT
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        [Column(TypeName = "float")]
        public decimal FLOATCOL { get; set; }
The generated model:
    public partial class TempWithFloatModel : DbContext
        public TempWithFloatModel()
            : base("name=TempWithFloatModel")
        public virtual DbSet<TEMP_WITHFLOAT> TEMP_WITHFLOAT { get; set; }
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
            modelBuilder.Entity<TEMP_WITHFLOAT>()
                .Property(e => e.FLOATCOL)
                .HasPrecision(38, 0);

The annotation is emitted by the entity designer because it is necessary to preserve type fidelity with the source database column.
If the annotation is removed, the FLOATCOL property in the generated class would map to an Oracle number(38) column. But, of course, that is not what the source column is in this case.
For example, this would be a problem if a database initializer was subsequently used to re-create the database or if a script was generated via migrations using the class without the annotation.
It's interesting that the error message refers to SqlServer.float type.
I'll try to investigate a bit more...

Similar Messages

  • Files generated by Web Service Proxy give errors for complex input types

    Hi ,
    I generated a Java Web Service Proxy using a WSDL file.
    The input params are of this fashion -
    1) Object 1 have 3 attributes
    2) Object 2 having nested Object 2 (yes , again) which has a nested attribute which needs to be passed say Param 1.
    When I generate the proxy classes ... Param 1 is referred to as private Object2.Object2 param1 which gives error for the data types.
    How can we resolve this .. what should be the correct data type representation for param 1 ?
    Thanks

    Issue was resolved . Details here - 11g PS2 - WebServiceProxy Class give errors for complex input types

  • How to Update a clob column..it gives error string literal too long

    I am trying to update a clob column of a table but it gives error string literal too long plz tell me what's the issue
    ORA-01704: string literal too long

    Peeyush wrote:
    I am trying to update a clob column of a table but it gives error string literal too long plz tell me what's the issue
    ORA-01704: string literal too longThere's a problem with my car. It won't start. Why won't it start? Please tell me!
    Oh wait, you can't, because I haven't given you nearly enough information...
    In other words, if you would like help in trying to work out where you've gone wrong, you should provide a small enough example of your code that demonstrates the error. We might then actually stand a chance of being able to help you!

  • "generate subset" in script gives error if even number

    I am try to generate with a scipt using a PXI6551.  In the generate subset command if it is a EVEN number such as below (gree) subset(0,17) it gives the error below (red).  If it is an ODD number it works.  Is this a bug, normally you would need an even number of samples to be able to generate but with the script it seems to give the error if there is an even number?
    Thanks,
    Brian
    script myScript
       repeat 1
          Generate PRBS
       end repeat
       Generate PRBS subset(0,17) <-gives error   (0,18) does not give error
    script
    Error -1074115617 occurred at niHSDIO Write Script.vi
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA4BDF) DAQmx Error -200032 occurred:
    Subset length specified is not valid.
    Change the subset length to be longer than zero samples and a multiple of the alignment quantum.
    Line Number: 5
    Position in Line: 18
    Subset Length: 17
    Alignment Quantum: 2
    Status Code: -200032
    Message Edited by BrianPack on 09-29-2005 04:29 PM

    Brian,
    The format (x,y) means y samples starting at position X and therefore when you specify (0,17) you would still generate 17 samples but starting at position 0. Whereas when specifying (1,17) you would generate STILL 17 samples but starting at position 1.  Therefore, in either case, you are still asking to generate an odd number of samples. Hope this helps.
    Ayman K

  • System generated column names

    Version - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    I see some system generated column names(like SYS_C00009_13061211:44:57$,SYS_C00033_13061211:44:57$) in ALL_TAB_COLS view for a partitioned table, not sure how they got created in the first place and tabledoesn't have any virtual columns. Is it something if we drop a column from table and oracle trying to keep them in the dictionary? when i describe the table these "SYS_C00" columns are not showing.
    I am trying to exchange the partition with staging (similar structure) table, but i end up with this error "
    14097. 00000 -  "column type or size mismatch in ALTER TABLE EXCHANGE PARTITION"
    *Cause:    The corresponding columns in the tables specified in the
               ALTER TABLE EXCHANGE PARTITION are of different type or size
    *Action:   Ensure that the two tables have the same number of columns
               with the same type and size."
    Any suggestions would be appreciated.
    Thanks,
    sg

    I have found my solution to this problem.
    My table is compressed table and when i try to drop some of the columns oracle marking them as unused(SYS_CO with timestamp) instead of dropping them. For partition exchange i have created same number of columns as original table in the same order and marked the "dropped" columns as unused on a temporary table. Now i can able to exchange the partition with out any issues
    Thanks to Jonathan and Connor.
    EXCHANGE PARTITION those pesky columns | Learning is not a spectator sport

  • SQL*loader support database columns Of Binary Double/Float

    Does SQL*loader support database columns Of Binary Double/Float when applying Direct Path?

    Why not use Google and find out for yourself.
    The first hit on Google is this
    Go see for yourself
    Regards
    FJ

  • Sort descending a column generated by a simple formula?

    I have just upgraded to Numbers 3.2 from '09 and I have discovered this nasty problem where I can not “sort descending” a column generated by a simple formula.
    Imagine the sequence 1, 2, 4, 8, 16, 32, 64…
    — Let's add the first number, “1” in B1
    — Click on B2 and make it equal to B1*2
    — And so on, click your B2 cell and drop to bottom.
    We get this nice succession:
    OK. Now imagine we want to “sort-descending” this. We press on top and choose the descending option. And then we get this annoying result:
    How I can to fix this problem?
    This worked perfectly on previous Numbers versions ('09) and of course in Excel or OpenOffice. And it's a very “simple” and common feature.
    Or maybe I'm forgetting or misunderstanding something?
    Thanks for your support :-)
    Cristóbal Vila.

    Sorting has changed since the previous version.
    You can sort this by selecting the column with the sequence, then copy
    then select the menu item "Edit > Paste Formula Results"
    now sort
    another way is to place a "count" in column A... 0 thru whatever
    and place a formula to computer the power of two from that count:
    In this case I entered 0 in cell A1, then 1 in cell A2
    select cells A1 and A2 and fill down as needed by dragging the yellow dot that appears when you hover the cursor over to bottom edge of the selection
    In cell B1 I entered the formula "=2^A1"
    no select cell B1 copy
    select column B,  paste
    now you have a sort-safe table and may sort as needed

  • Find first line in every column

    Hi All,
    Request:
    I want to find first line in every text frame column.
    Bug:
    If the active document contains single column, two column and multiple column text frames. In that case I am not able to get my result
    Trying script:
    var myDoc = app.activeDocument
    var myTextFrames = myDoc.textFrames.everyItem().getElements()
    for(i=0; i<myTextFrames.length; i++)
          var myTextColumns1 = myTextFrames[i].textColumns[1].lines[0].contents
              alert(myTextColumns1)
    Herewith i attached the error file.
    If active document contains only two column text frame, script run sucessfully.
    If active document contains single column text frame and two column text frame error found as below:
    Could anyone find solution for my request.
    Thanks in advance
    BEGINNER

    Try this,
    var myDoc = app.activeDocument
    var myTextFrames = myDoc.textFrames.everyItem().getElements()
    for(i=0; i<myTextFrames.length; i++)
        for(var j = 0;j<myTextFrames[i].textColumns.length;j++ )
            var myTextColumns1 = myTextFrames[i].textColumns[j].lines[0].contents
            $.writeln(myTextColumns1)

  • Need PlSQL code to find out the column/combination of columns from a given table which will be unique values

    Given a table with some columns and data associated with that. Need to find out a column or a combination of some columns, so that the values or combination of values will be unique in the table.
    The table and number of columns and the columns will be dynamic.
    Can you please help me with the solution?

    f8d0dcea-cdf0-4935-8734-632fe021456c wrote:
    No key is defined in the table.
    Suppose a table contains 20 columns then I need the unique combinations of all columns.
    Example: A table 'Employee' has 4 columns: Emp_No, Emp_Name,Passport_No,Emp_Designation. No key is defined for Employee table. Need to find out which column(single column and combination if columns) have unique values. Like, First check if Emp_No is unique then check Emp_No+Emp_Name is unique, then check if Emp_No+Emp_Name+Passport_No is unique, then check Emp_No+Emp_Name+Passport_No+Emp_Designation is unique.
    Then again try with the combination of Emp_No+Passport_No and so on. In this way I need to find out all the combinations having unique values.
    As Paul says, that will be a waste of time, as it will taken a lot of processing for all the possibilities, checking all the data each time to determine which combinations of columns provide uniqueness.  What happens if someone inserts or deletes some data whilst your doing it?
    You'd be quicker to manually look at the tables, and make an educated guess and then test for uniqueness with a quick query on that guess.

  • Generate columns and rows with a loop

    $query = "SELECT * FROM `Sale` WHERE `Date` >= '2007-01-11' AND `Date` <= '2007-01-14' GROUP BY `Date` ORDER BY Date ASC";
    $result = mysql_query($query);
    How to generate columns and rows with the above mysql query to get this output:
    Name/Day 11    12    13    14
    Appple      30     25    26    28
    Orange     5       23     12     0
    Grape       7       16     0    10
    The header I managed to create but not the rows. This is what I did.
    <?php
    $query = "SELECT * FROM `Sale` WHERE `Date` >= '2007-01-11' AND `Date` <= '2007-01-14' GROUP BY `Date` ORDER BY Date ASC";
    $result = mysql_query($query);
    //Header
    ?>
    <tr>
    <td valign=top>
    <table cols=6 width=100% border="1" cellspacing=1 cellpadding=1>
    <th BGCOLOR=#6C83B0 height="25" width="1"><font color=#FFFFFF size='1'><b></th>
    <th BGCOLOR=#6C83B0 width="120" align="left"><font color=#FFFFFF size='2'><b>Name/Day</b></th>
    <?
    $result = mysql_query($query);
    if ($daterow = mysql_fetch_array($result)) {
    do {
    $TimeStamp = strtotime("$daterow[Date]");
    $day = date("j", $TimeStamp);
    ?>
    <th BGCOLOR=#6C83B0 width="5" align="center"><font color=#FFFFFF size='2'><b><?echo $day?></b></th
    <?
    }while ($daterow = mysql_fetch_array($result));
    ?>
    <th BGCOLOR=#6C83B0 width="5" align="center"><font color=#FFFFFF size='2'><b>Total</b></th>
    <th BGCOLOR=#6C83B0><font color=#FFFFFF size='2'><b></b></th>
    <th BGCOLOR=#6C83B0 width="1"><font color=#FFFFFF size='1'><b></b></th>
    </tr>
    <?
    //Rows
    $result = mysql_query($query);
    if ($row = mysql_fetch_array($result)) {
    do {
    include("../lib/browser_sales_daily.php");
    } while ($row = mysql_fetch_array($result));
    ?>
    </tbody></table>
    <?php
    //browser_sales_daily.php
    print <<<EOD
    <td BGCOLOR=#EDEDED align="left">
    <font size="2">$row[Name]</font>
    </td>
    EOD;
    // <<<< HOW TO GENERATE ROWS HERE WITH A LOOP????? >>>
    print <<<EOD
    </tr>
    EOD;
    ?>

    Make sure the photos are "within" celsl and they should sort along with the rest of your data. One way to do this: select a photo that you have in the sheet that is not sorting with the data, command-x to cut, click once in a cell, and paste.  Then adjust the row height and width to make the images larger.
    SG

  • Choice of database column types, part 2: float(53) (or BINARY_DOUBLE) versu

    Original post in this series:
    http://forum.java.sun.com/thread.jspa?threadID=629958
    Issue #2: float(53) (or BINARY_DOUBLE) vs float(126)
    The original database design uses float(126) for several floating point type columns. Conversation with one of the database guys involved reveals that this was not a particularly conscious choice, but came when migrating an earlier database which simply used float as the column type.
    From my perspective as a Java programmer who needs to work with this data via JDBC, the choice of float(126) as a type is poor as it (a) is probably overkill, storing unneeded precision and thus wasting space (b) is unrepresentable as a Java double type unless truncation error is introduced (c) might be the cause of subtle bugs.
    Point (a) needs no further explanation.
    For point (b), note that oracle's float(53), not float(126), is the float type that best corresponds with Java's (IEEE 754) double type.
    Unfortunately, float(53) is NOT exactly equivalent to Java's double: Oracle internally uses binary coded decimal to represent numbers (float is essentially an oracle number type with added restrictions), which will not be the same bits as Java's double format (for a reference, see http://builder.com.com/5100-6388-5224536.html). This means that there can be conversion and rounding issues even when you use float(53) (see http://www.stanford.edu/dept/itss/docs/oracle/9i/java.920/a96654/oraint.htm#1000888 which states "Performing mathematical manipulations of the data directly in SQL format avoids the loss of precision that occurs in converting between SQL and Java formats").
    For point (c), here is an example of how I think that subtle bugs can be introduced. Suppose that you do a query and among the results is some floating point type, internally stored in the db as float(126) but which can only be represented in a normal computer language program by a double type, which is equivalent to a float(53). (No one wants to use a class like Java's BigDecimal if at all possible because it is very awkward to use and is extremely slow as well.) So truncation has to occur. Then suppose that the programmer wishes to use that floating point value, unmodified, as part of a subsequent query, say in an equals condition. But now it may not equal because the value in his program has lost information present in the original, so the query does not work as expected. Of course, for this scenario, one could query based on "approximately equal" instead of exactly equal. But that assumes that the programmer knows to do this, and then even if he does, it is a pain to write, may be a performance hit, and subjectivity is involved (e.g. in how much being off you will tolerate). So, if it is at all possible to reasonably avoid this, yuo want to.
    It appears that Oracle 10g now offers the BINARY_DOUBLE type which DOES exactly correspond to Java's double type; see http://builder.com.com/5100-6388-5224536.html
    What are people's thoughts on the points that I raise above: is using a float(126) a suboptimal design choice, or are there no significant issues?
    Anyone have experience with the new BINARY_DOUBLE type? (Unfortunately, we are currently using Oracle 9i so this may not be an option for us.)

    Original post in this series:
    http://forum.java.sun.com/thread.jspa?threadID=629958
    You could have posted it as a reply to that post. :)
    It's difficult managing to keep multiple posts close together.

  • Formula to select first record on the column

    Hi All
    I need a formula to select a first record on the column, here is my query
    SELECT DISTINCT
                          dbo.OWOR.DocNum, dbo.OWOR.ItemCode, dbo.OWOR.Status, dbo.OWOR.PlannedQty, dbo.ITM1.Price, dbo.OWOR.Warehouse,
                          dbo.OWOR.PlannedQty * dbo.ITM1.Price AS Total
    FROM         dbo.OWOR INNER JOIN
                          dbo.ITM1 ON dbo.OWOR.ItemCode = dbo.ITM1.ItemCode
    WHERE     (dbo.OWOR.Status = 'P') OR
                          (dbo.OWOR.Status = 'R') AND dbo.ITM1.Price
    I need to select the first price on the price list for (dbo.ITM1.Price).
    Regards
    Bongani

    Bongani,
    Are you sure you don't want to link a pricelist? Because the unique key on ITM1 consists of ItemCode and PriceList and taking the first price for an item in ITM1 could result in kind of random prices for different items, depending on whice pricelist gets filled first for a certain item.

  • Chart only generates column graphics

    Hello
    Our system BW is 3.5 sp 16 saplgpad 6.20 patch level 45.
    When I try to creat a chart with circles or other, the system always execute a column graphics.
    I read a 653249 note - Chart only generates column graphics, and our systems is OK.
    Did someone have a problem like this?
    Regards
    Cleusa

    Are you doing this in the Web Appl Designer, or BEx?
    If using WAD, do you have the IGS server up and running? Have your Basis folks check that.
    We're 3.5 SP 15 SAPGUI 6.40 and I have not problems with other charts types.
    Message was edited by: Pizzaman
    We're at FEP 7 and charts are fine.

  • Boolean types with entity framework code first and oracle provider

    Working in a application that has to work in oracle and sqlServer. In SqlServer we have used "Bit" to store booleans and in oracle number(1).
    Have check other threads in this forum, but didnt find any that fix my problem, sorry if this may have been discused before.
    We have created a code first model were we find few bool properties mapped to database fields.
    for example:
    public partial class ZPruebaBooleano
    public int Numero { get; set; }
    public bool Booleano { get; set; }
    Mapped as:
    this.ToTable("ZPRUEBABOOLEANO", schema);
    this.HasKey<int>(t => t.Numero);
    this.Property(t => t.Numero).HasColumnName("NUMERO");
    this.Property(t => t.Booleano).HasColumnName("BOOLEANO");
    Also, sw added to the application configuration file (for simplicity we have test it without the use of any additional dll):
    <oracle.dataaccess.client>
    <settings>
    <add name="bool" value="edmmapping number(1,0)" />
    <add name="byte" value="edmmapping number(3,0)" />
    <add name="int16" value="edmmapping number(4,0)" />
    <add name="int32" value="edmmapping number(9,0)" />
    <add name="int64" value="edmmapping number(18,0)" />
    </settings>
    </oracle.dataaccess.client>
    I am confident that the provider factory read it when creating the model, because it provokes an exception if i add an invalid entry in any of the type names mapped in the file.
    As i have find in other forums, this should work. But now i am not sure if should work always, including code first.
    I have this exception when i excecute the code (translated from spanish, sorry for any mistake):
    Type 'Edm.Boolean[Nullable=False,DefaultValue=]' from 'Booleano' to type'PruebaBooleanos.ZPruebaBooleano' is not compatyble with 'OracleEFProvider.number[Nullable=False,DefaultValue=,Precision=38,Scale=0]'
    Its funy that says Precision=38. The database is Number(1), i am sure about that, in fact this is the script:
    CREATE TABLE ZPRUEBABOOLEANO
    NUMERO NUMBER(15),
    BOOLEANO NUMBER(1)
    Also, i find it interesting that i was having this mistake even when i was not informing the table i was maping, like if the oracle provider didnt even check if the column was number(anything). Right now is well maped, table and schema.
    I have test to create an integer property wrapped by the boolean one, as we can see in this code.
    namespace PruebaBooleanos
    public partial class ZPruebaBooleano
    public int Numero { get; set; }
    public bool Booleano
    get
    return iBooleano == 1 ? true : false;
    set
    iBooleano = value ? 1 : 0;
    public int iBooleano { get; set; }
    in this last case i ignored the boolean and mapped the integer.
    That worked ok in oracle. But added 2 problems:
    1. It fails in SqlServer, because in sql server is bit
    2. Cant query the entity model using the boolean property as it is not maped to Database.
    I could change the bit field in SqlServer to Number.
    But i would like to keep bit in sqlserver and number(1) in oracle.
    Anyone had a similar problem?
    I am open to any ideas, thanks !!!
    libo

    It's cool. :)
    Sure. I can upload an EDMX file that works against my database if you want to look at it. The relevant parts are probably much like you'd expect. I've removed some columns from this version to make it easier to read.
    From the SSDL:
            <EntityType Name="PARAMETER">
              <Key>
                <PropertyRef Name="PARAMETER_CD" />
              </Key>
              <Property Name="PARAMETER_CD" Type="number" Nullable="false" Precision="4" />
              <Property Name="PARAMETER_ACTIVE_INDR" Type="number" Nullable="false" Precision="1" />
            </EntityType>From the CSDL:
    <EntityType Name="PARAMETER">
              <Key>
                <PropertyRef Name="PARAMETER_CD" />
              </Key>
              <Property Type="Int16" Name="PARAMETER_CD" Nullable="false" />
              <Property Type="Boolean" Name="PARAMETER_ACTIVE_INDR" Nullable="false" />
            </EntityType>From the C-S mapping:
    <EntitySetMapping Name="PARAMETER">
                <EntityTypeMapping TypeName="Model.PARAMETER">
                  <MappingFragment StoreEntitySet="PARAMETER">
                    <ScalarProperty Name="PARAMETER_ACTIVE_INDR" ColumnName="PARAMETER_ACTIVE_INDR" />
                    <ScalarProperty Name="PARAMETER_CD" ColumnName="PARAMETER_CD" />
                  </MappingFragment>
                </EntityTypeMapping>
              </EntitySetMapping>Also worth noting that the EDMX mapper probably won't set the provider and token correctly:
    <Schema Namespace="Model.Store" Alias="Self" Provider="Oracle.DataAccess.Client" ProviderManifestToken="11.2" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">Full version is available at http://www.hiredgoons.ca/DataImport.edmx . This is an early development one so I make no apologies for not renaming columns to something readable. ;) It does work correctly as I've had it in testing (taking data from a 170MB excel file and putting it into Oracle using the model). It was created using DB First.
    When you have it load at runtime, you need the application configuration settings to map bool to number(1). If that's in app.config or web.config it'll pick it up. Probably worth noting that if you don't have the configuration setting and you load this, the model doesn't validate correctly. As soon as you try to create a DbContext from it, you get an immediate exception that number(1) doesn't map to boolean.
    Edited by: Tridus on Nov 21, 2012 3:37 PM

  • Code First Migrations

    When I add a migration and update database I see 2 migration records got inserted in to the MigrationHistory table where I am expecting 1 record.
    The first record has the actual migration value which is correct.
    The second record has the ContextKey column value as "XXXContext" which shouldn't be there.
    I am only expecting the 1st record in MigrationHistory table.
    Can some one help me on this please?
    Note: I am currently having the code and Database version of EF6
    Many Thanks!

    Hello SivaNagarla,
    As far as I know, it should be only one record for every migration, from your description, it sounds very strangely. For helping you looking this case, please provide information as:
    1.What database you are using and you developed language?
    2.Please share the related entities and provide a description for how you do that migration.
    3. Please show us the two generated reocrds data
    There are suggestions you could also have a try:
    1.Re-install the Entity Framework from Nuget.
    2.Re-Create the project/solution
    3.Create a same project in another machine.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Dunning letter problem

    I need to show in the Dunning letter the assigned standard bank for incoming payment of the business patner. How to do ? Giuseppe

  • OpenEJB ,Tomcat and JDeveloper 11g

    I developed a session bean 3 and export it as jar and put it in web application under lib folder then exported it as war then deployed it in Tomcat integrated with openEJB I call the session bean through servlet using injection,but the openEJB didn't

  • WRTU54G-TM not keeping its IP address, generally being annoying

    I bought a Linksys WRTU54G-TM for the TMobile @Home service.  Setting it up is proving to be absurdly frustrating because the webbased interface refuses to acknowledge that I have given it an IP address.  I set the IP to 192.168.1.20, static IP, conf

  • It's been downhill from Copenhagen

    it's been so hard to walk the talk. sustainability reminds me a bit of autarky, but hopefully it will not be discredited by the failed and cosmetic attempts individuals and organizations make because sustainability is trendy. sure, software can help,

  • Why do i need ios8 to use find my iphone with 5c

    why do i need ios8 to use find my iphone with 5c