示例#1
0
 public TriggerModel()
 {
     TableReference = new ReferenceTable()
     {
         GetDb = () => this.Root
     };
 }
示例#2
0
 public IndexModel()
 {
     this.Columns = new IndexColumnCollection()
     {
         Parent = this
     };
     this.BlocPartition = new BlocPartitionModel()
     {
         Parent = this
     };
     TableReference = new ReferenceTable()
     {
         GetDb = () => this.Root
     };
     this.PhysicalAttributes = new PhysicalAttributesModel()
     {
         Parent = this
     };
 }
示例#3
0
        public ConstraintModel()
        {
            this.Columns = new ConstraintColumnCollection()
            {
                Parent = this
            };
            TableReference = new ReferenceTable()
            {
                GetDb = () => this.Root
            };
            Reference = new ReferenceConstraint()
            {
                GetDb = () => this.Root
            };

            Status    = "ENABLE";
            Deferred  = "IMMEDIATE";
            Rely      = "RELY";
            Validated = "VALIDATE";
        }
 public TriggerModel()
 {
     TableReference = new ReferenceTable();
 }