摘要:
public static class ContextObject_Helper { public static int UpdateEntity<T>(this ObjectContext objectContext, T entity, string entitySetName) where T: EntityObject { // Attach specify entity objectContext.AttachTo(entitySetName, entity); // Get object state by specify entity. System.Data.Obje 阅读全文