public static StiDataTableSchema NewProcedure(string name, StiSqlDataConnector connector = null, string query = null)
 {
     return(new StiDataTableSchema(name, query ?? StiTableQuery.Get(connector).GetExecuteQuery(name)));
 }
 public static StiDataTableSchema NewView(string name, StiSqlDataConnector connector = null, string query = null)
 {
     return(new StiDataTableSchema(name, query ?? StiTableQuery.Get(connector).GetSelectQuery(name)));
 }
 public static StiTableQuery Get(StiSqlDataConnector connector)
 {
     return(new StiTableQuery(connector));
 }
 public static StiDataTableSchema NewTableOrView(string name, StiSqlDataConnector connector = null, string query = null)
 {
     return(NewTable(name, connector, query));
 }
 public StiTableQuery(StiSqlDataConnector connector)
 {
     this.connector = connector;
 }