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

 

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

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

Όλες οι Ετικέτε... » ef » Data-Services   (RSS)
  • 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