public TableDefinitionImpl(SQLVendorImpl vendor, TableCommitAction?commitAction, TableContentsSource contents, TableNameDirect name, TableScope?scope) : base(vendor) { ArgumentValidator.ValidateNotNull(nameof(name), name); ArgumentValidator.ValidateNotNull(nameof(contents), contents); this._commitAction = commitAction; this._contents = contents; this._name = name; this._scope = scope; }
public static TableDefinition NewTableDefinitionPgSQL(this DefinitionFactory factory, TableNameDirect tableName, TableContentsSource contents, TableScope?tableScope = null, PgSQLTableCommitAction?commitAction = null) { return(factory.NewTableDefinition(tableName, contents, tableScope, (TableCommitAction)commitAction)); }
public virtual TableDefinition NewTableDefinition(TableNameDirect tableName, TableContentsSource contents, TableScope?tableScope = null, TableCommitAction?commitAction = null) { return(new TableDefinitionImpl(this.vendor, commitAction, contents, tableName, tableScope)); }
public TableDefinitionBuilder SetTableContentsSource(TableContentsSource contents) { this._tableContents = contents; return(this); }