public void WhenAViewCalledOfTheTableIsCreated(string viewName, string tableName) { var tableActions = new TableActions(database.ConnectionString); tableActions.CreateView(DatabaseObjectName.FromName(tableName), DatabaseObjectName.FromName(viewName)); }
public void WhenTheViewOfTheTableIsCreatedInTheSchema(string viewName, string tableName, string schemaName) { var tableActions = new TableActions(database.ConnectionString); tableActions.CreateView(new DatabaseObjectName(schemaName, tableName), new DatabaseObjectName(schemaName, viewName)); }