Ejemplo n.º 1
0
        public IndexStub AddStubbedIndex(ColumnStub parentColumn, string indexName)
        {
            IndexStub idx = new IndexStub(parentColumn.Table, parentColumn, indexName);

            Indexes.Add(idx);
            return(idx);
        }
Ejemplo n.º 2
0
        public ColumnStub AddStubbedColumn(string columnName, string dataTypeNameComplete)
        {
            ColumnStub newCol = new ColumnStub(this, columnName, dataTypeNameComplete);

            Columns.Add(newCol);
            return(newCol);
        }