示例#1
0
 public IExecute <T> Update <TKey, TSource>(TSource obj, Expression <Func <T, TKey> > fields)
 {
     this.source = obj;
     FieldVisitor.ResolveUpdateField(fields, obj);
     return(this);
 }
示例#2
0
 public IExecute <T> Update <TSource>(TSource obj, bool ignoreKey = true)
 {
     this.source = obj;
     FieldVisitor.ResolveUpdateField <T, TSource>(obj, ignoreKey);
     return(this);
 }