Exemplo n.º 1
0
 public MeberOperationHelper(DbColumnAttribute dbColumnAttribute, MemberOperationBase memberOperationBase)
 {
     if (dbColumnAttribute == null)
     {
         throw new ArgumentNullException("attr");
     }
     if (memberOperationBase == null)
     {
         throw new ArgumentNullException("member");
     }
     this.dbColumnAttribute = dbColumnAttribute;
     this.MemberOperationBase = memberOperationBase;
 }
 public void SetMeberOperationHelperValue(DbColumnAttribute dbColumnAttribute, MemberOperationBase memberOperationBase)
 {
     MeberOperationHelper meberOperationHelper = new MeberOperationHelper(dbColumnAttribute, memberOperationBase)
     {
         MeberOperationHelperContainer = this
     };
     this.GetDict()[memberOperationBase.GetPropertyName()] = meberOperationHelper;
 }