Exemplo n.º 1
0
 public TriggerModel()
 {
     TableReference = new ReferenceTable()
     {
         GetDb = () => this.Root
     };
 }
Exemplo n.º 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
     };
 }
Exemplo n.º 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";
        }
Exemplo n.º 4
0
 public TriggerModel()
 {
     TableReference = new ReferenceTable();
 }