摘要:
publicoverrideintSaveChanges(SaveOptionsoptions){foreach(EntityObjectentityinthis.ObjectStateManager.GetObjectStateEntries(EntityState.Added|EntityState.Modified).Select(entry=>entry.Entity)){//if(entity==null||entityisUser)continue;stringstr=typeof(string).Name;varprops=entity.GetType().GetPrope 阅读全文
posted @ 2011-12-09 10:43
阿新
阅读(356)
评论(0)
推荐(0)

浙公网安备 33010602011771号