예제 #1
0
        //protected void GetDBKey(Int32 server_index, Int32 db_index = 0)
        //{
        //    dbkey = server_index > 0 ? string.Format(main_db_key_fmt, server_index.ToString("00")) : ((ExtendDBType)server_index).ToString();
        //    OrgDbPrefix = db_index == 0 ? String.Empty : string.Format(org_db_prefix_fmt, db_index);
        //}

        protected void GetDBKey(ExtendDBType dbType)
        {
            dbkey = dbType.ToString();
        }
예제 #2
0
 public RepositoryBase(ExtendDBType dbType)
 {
     this.dbkey = dbType.ToString();
 }