コード例 #1
0
 public static bool ContainsAny <T>(this ITransactionContextEntity <T> txEntity,
                                    string attribute, params string[] otherAttributes)
     where T : Entity => txEntity.Entity.ContainsAny(attribute, otherAttributes);
コード例 #2
0
 public static bool ContainsAny <T>(this ITransactionContextEntity <T> txEntity,
                                    Expression <Func <T, object> > attribute, params Expression <Func <T, object> >[] otherAttributes)
     where T : Entity => txEntity.Entity.ContainsAny(attribute, otherAttributes);
コード例 #3
0
 public static EntityReference ToEntityReference <T>(this ITransactionContextEntity <T> txEntity)
     where T : Entity => txEntity.Entity.ToEntityReference();