public void InitializeTmWithoutSql(int tmCid, TmUserInfo userInfo, TmServerFeatures features)
        {
            TmCid            = tmCid;
            TmUserInfo       = userInfo;
            TmServerFeatures = features;

            OikDataApi.SetUserInfoAndServerFeatures(TmUserInfo, TmServerFeatures);
            TmsApi.SetCidAndUserInfo(TmCid, TmUserInfo);
            ServerService.SetTmCid(TmCid);

            ServerService.CheckSqlConnection = false;
            OikDataApi.IsSqlAllowed          = false;
        }
        public void InitializeTm(int tmCid, int rbCid, int rbPort, TmUserInfo userInfo, TmServerFeatures features)
        {
            TmCid            = tmCid;
            RbCid            = rbCid;
            RbPort           = rbPort;
            TmUserInfo       = userInfo;
            TmServerFeatures = features;

            OikSqlApi.SetCreateOikSqlConnection(CreateOikSqlConnection);
            ServerService.SetCreateOikSqlConnection(CreateOikSqlConnection);

            OikDataApi.SetUserInfoAndServerFeatures(TmUserInfo, TmServerFeatures);
            TmsApi.SetCidAndUserInfo(TmCid, TmUserInfo);
            ServerService.SetTmCid(TmCid);
        }