摘要:
public static T CopyEntity(NorthwindEntities ctx, T entity, bool copyKeys = false) where T : EntityObject { T clone = ctx.CreateObject(); PropertyInfo[] pis = entity.GetType().GetProperties(); foreach (PropertyInfo pi in pis) { EdmSca... 阅读全文
posted @ 2014-04-02 15:25
perock
阅读(381)
评论(0)
推荐(0)
浙公网安备 33010602011771号