Example #1
0
 public RowInfo(TableSchema schema)
 {
     Schema           = schema;
     DependentColumns = new SchemaColumnCollection(schema);
     ParentRows       = new Dictionary <ForeignKeyColumn, RowInfo>();
     ChildRows        = new Dictionary <ChildRelation, RowInfo>();
 }
Example #2
0
        ///<summary>Creates a new RowDependencySetup.</summary>
        public RowDependencySetup(TableSchema schema)
        {
            if (schema == null)
            {
                throw new ArgumentNullException("schema");
            }

            Schema = schema;

            DependentColumns   = new SchemaColumnCollection(Schema);
            NestedDependencies = new Collection <Dependency>();
        }