예제 #1
0
        public Boolean OpenSheet(String _db_name, String _sheet_name)
        {
            SheetLiteDb db = Manager.Instance.GetDB(_db_name);

            if (null == db)
            {
                Log.Error("Load Sheet: {0} Fail, Database is null!", _sheet_name);
                return(false);
            }
            m_sheet = db.OpenSheet(_sheet_name);
            return(null != m_sheet);
        }
예제 #2
0
 // Static Methods
 public static void BindDB(SheetLiteDb _db)
 {
     m_db = _db;
 }