コード例 #1
0
        public DataSet DynamicFormLoadByEventID(string eventID)
        {
            DataSet dataSet = new DataSet();

            MobileModuleObjectMappingBLL mobileModuleObjectMappingBLL = new MobileModuleObjectMappingBLL(CurrentUserInfo);
            var mobileModuleObjectMapping = mobileModuleObjectMappingBLL.Query(new IWhereCondition[] {
                new EqualsCondition()
                {
                    FieldName = "ObjectID", Value = eventID
                }
                , new EqualsCondition()
                {
                    FieldName = "CustomerID", Value = CurrentUserInfo.ClientID
                }
            }, null);

            if (mobileModuleObjectMapping.Length > 0)
            {
                string formID = mobileModuleObjectMapping[0].MobileModuleID.ToString();

                MobileModuleBLL mobileModuleBLL = new MobileModuleBLL(CurrentUserInfo);
                dataSet = mobileModuleBLL.DynamicFormLoad(formID, "LEventSignUp");
            }

            return(dataSet);
        }
コード例 #2
0
        public EmptyRD DynamicVipFormSceneSave(DynamicVipFormSceneSaveRP dynamicVipFormSceneSaveRP)
        {
            var rd = new EmptyRD();

            if (dynamicVipFormSceneSaveRP.SceneList.Length > 0)
            {
                MobileModuleObjectMappingBLL mmomBLL = new MobileModuleObjectMappingBLL(CurrentUserInfo);

                mmomBLL.DynamicVipFormSceneSave(dynamicVipFormSceneSaveRP);
            }

            return(rd);
        }