コード例 #1
0
ファイル: Screen.cs プロジェクト: hafsjold/snvrepos
            private global::Microsoft.LightSwitch.IDataServiceQueryable vMedmemLogTextsQuery()
            {
                if (this.Screen.tblMedlems.SelectedItem == null)
                {
                    return(null);
                }

                global::Microsoft.LightSwitch.IDataServiceQueryable <global::LightSwitchApplication.vMedmemLogText> loader =
                    (global::Microsoft.LightSwitch.IDataServiceQueryable <global::LightSwitchApplication.vMedmemLogText>)((global::Microsoft.LightSwitch.Details.ILoadableProperty) this.Screen.tblMedlems.SelectedItem.Details.Properties.vMedmemLogTexts).Loader;
                if (loader == null)
                {
                    return(null);
                }

                return(loader);
            }
コード例 #2
0
ファイル: Screen.cs プロジェクト: nuevollc/Nuevo
            private global::Microsoft.LightSwitch.IDataServiceQueryable PhoneQuery()
            {
                if (this.Screen.SubscriberItem == null)
                {
                    return(null);
                }

                global::Microsoft.LightSwitch.IDataServiceQueryable <global::LightSwitchApplication.PhoneItem> loader =
                    (global::Microsoft.LightSwitch.IDataServiceQueryable <global::LightSwitchApplication.PhoneItem>)((global::Microsoft.LightSwitch.Details.ILoadableProperty) this.Screen.SubscriberItem.Details.Properties.Phone).Loader;
                if (loader == null)
                {
                    return(null);
                }

                return(global::Microsoft.LightSwitch.DataServiceQueryable.Include(
                           loader,
                           "ServicePlan"));
            }