Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια
σε

 

Αρχική σελίδα Ιστολόγια Συζητήσεις Εκθέσεις Φωτογραφιών Αρχειοθήκες

Παρουσίαση με Ετικέτες

Όλες οι Ετικέτε... » ef   (RSS)
  • EF code first: creating string Index error

    In Entity Framework code-first, if you have a domain model like the following: [crayon-582b152280188265428148/] and want to create an index for a string property, when you execute update-adtabase for your migration, you may end up with the following error: This usually happens when you use VARCHAR(max) which is the default column type when ...
    Δημοσιεύτηκε στο Paris Polyzos - a developer's notebook (Weblog) από το μέλος ppolyzos στις Νοεμβρίου 15, 2016
  • Generic extention for getting 3.5 EF object with Data Services

    In my lastest project implemented with EF 3.5 and ADO.NET Data Services, there was a constant need to geting entity objects from DB by ID(…). This generic routine retrieves an object (of the generated DataServiceContext types) by its respective Id of int, double, decimal, or Guid: public static T GetById(this DataServiceContext ctx, U id) ...
    Δημοσιεύτηκε στο count zero (Weblog) από το μέλος napoleon στις Μαΐου 9, 2011
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems