示例#1
0
        /// <summary>
        /// Loads the tables.
        ///
        /// Used in code generation purposes
        /// </summary>
        /// <returns></returns>
        public string[] LoadTables()
        {
            DbGateway gateway = new DbGateway(this);

            return(LoadTables(gateway));
        }
示例#2
0
 /// <summary>
 /// Loads the tables.
 ///
 /// Used in code generation purposes
 /// </summary>
 /// <returns></returns>
 internal abstract string[] LoadTables(DbGateway gateway);
示例#3
0
 internal abstract Dictionary <string, string> LoadFields(DbGateway gateway, string tableName);
示例#4
0
        internal Dictionary <string, string> LoadFields(string tableName)
        {
            DbGateway gateway = new DbGateway(this);

            return(LoadFields(gateway, tableName));
        }
示例#5
0
 /// <summary>
 /// Creates new instance and set Gateway property
 /// </summary>
 /// <param name="gateway"></param>
 public DbCachedGateway(DbGateway gateway)
 {
     Gateway = gateway;
 }