Beispiel #1
0
            private DataArchiveSettings _SelectByKey(DbManagerProxy manager
                                                     , on_action loading, on_action loaded
                                                     )
            {
                return(_SelectByKeyInternal(manager
                                            , loading, loaded
                                            )

                       );
            }
Beispiel #2
0
            private ListPanelObject _SelectByKey(DbManagerProxy manager
                                                 , on_action loading, on_action loaded
                                                 )
            {
                return(_SelectByKeyInternal(manager
                                            , loading, loaded
                                            )

                       );
            }
Beispiel #3
0
            public List <Lookup2Table> _SelectList(DbManagerProxy manager
                                                   , on_action loading, on_action loaded
                                                   )
            {
                var ret = _SelectListInternal(manager
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #4
0
            public List <VectorType2SampleTypeLookup> _SelectList(DbManagerProxy manager
                                                                  , on_action loading, on_action loaded
                                                                  )
            {
                var ret = _SelectListInternal(manager
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #5
0
            public List <SettlementTypeLookup> _SelectList(DbManagerProxy manager
                                                           , on_action loading, on_action loaded
                                                           )
            {
                var ret = _SelectListInternal(manager
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #6
0
            public List <LabDerivativeTypesLookup> _SelectList(DbManagerProxy manager
                                                               , on_action loading, on_action loaded
                                                               )
            {
                var ret = _SelectListInternal(manager
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #7
0
            public List <SmphDiagnosisLookup> _SelectList(DbManagerProxy manager
                                                          , on_action loading, on_action loaded
                                                          )
            {
                var ret = _SelectListInternal(manager
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #8
0
            private LinkObject _SelectByKey(DbManagerProxy manager
                                            , Int64?ID
                                            , on_action loading, on_action loaded
                                            )
            {
                return(_SelectByKeyInternal(manager
                                            , ID
                                            , loading, loaded
                                            )

                       );
            }
Beispiel #9
0
            private VetAggregateActionDetailed _SelectByKey(DbManagerProxy manager
                                                            , Int64?idfAggrCase
                                                            , on_action loading, on_action loaded
                                                            )
            {
                return(_SelectByKeyInternal(manager
                                            , idfAggrCase
                                            , loading, loaded
                                            )

                       );
            }
Beispiel #10
0
            public List <AnimalAgeLookup> _SelectList(DbManagerProxy manager
                                                      , String idfsSpecies
                                                      , on_action loading, on_action loaded
                                                      )
            {
                var ret = _SelectListInternal(manager
                                              , idfsSpecies
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #11
0
            public List <SampleTypeForDiagnosisLookup> _SelectList(DbManagerProxy manager
                                                                   , Int32?intHACode
                                                                   , on_action loading, on_action loaded
                                                                   )
            {
                var ret = _SelectListInternal(manager
                                              , intHACode
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #12
0
            public List <CollectionMethodLookup> _SelectList(DbManagerProxy manager
                                                             , Int64?idfsVectorType
                                                             , on_action loading, on_action loaded
                                                             )
            {
                var ret = _SelectListInternal(manager
                                              , idfsVectorType
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #13
0
            public List <PostalCodeLookup> _SelectList(DbManagerProxy manager
                                                       , Int64?SettlementID
                                                       , on_action loading, on_action loaded
                                                       )
            {
                var ret = _SelectListInternal(manager
                                              , SettlementID
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #14
0
            public List <Lookup2ParamTable> _SelectList(DbManagerProxy manager
                                                        , Int32?ParentID
                                                        , on_action loading, on_action loaded
                                                        )
            {
                var ret = _SelectListInternal(manager
                                              , ParentID
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #15
0
            public List <SmphOrganizationTranslationLookup> _SelectList(DbManagerProxy manager
                                                                        , String lang
                                                                        , on_action loading, on_action loaded
                                                                        )
            {
                var ret = _SelectListInternal(manager
                                              , lang
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #16
0
            public List <ChildObject> _SelectList(DbManagerProxy manager
                                                  , Int64?ID
                                                  , on_action loading, on_action loaded
                                                  )
            {
                var ret = _SelectListInternal(manager
                                              , ID
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #17
0
            public List <SmphBaseReferenceLookup> _SelectList(DbManagerProxy manager
                                                              , Int64?idfsReferenceType
                                                              , on_action loading, on_action loaded
                                                              )
            {
                var ret = _SelectListInternal(manager
                                              , idfsReferenceType
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #18
0
            public List <HACodeLookup> _SelectList(DbManagerProxy manager
                                                   , Int32?intHACodeMask
                                                   , on_action loading, on_action loaded
                                                   )
            {
                var ret = _SelectListInternal(manager
                                              , intHACodeMask
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #19
0
            public List <RuleFunctionLookup> _SelectList(DbManagerProxy manager
                                                         , Int32?count
                                                         , on_action loading, on_action loaded
                                                         )
            {
                var ret = _SelectListInternal(manager
                                              , count
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #20
0
            public List <Observation> _SelectList(DbManagerProxy manager
                                                  , String observationList
                                                  , on_action loading, on_action loaded
                                                  )
            {
                var ret = _SelectListInternal(manager
                                              , observationList
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #21
0
            public List <RuleConstant> _SelectList(DbManagerProxy manager
                                                   , Int64?idfsRule
                                                   , on_action loading, on_action loaded
                                                   )
            {
                var ret = _SelectListInternal(manager
                                              , idfsRule
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #22
0
            public List <StreetLookup> _SelectList(DbManagerProxy manager
                                                   , Int64?idfsSettlement
                                                   , on_action loading, on_action loaded
                                                   )
            {
                var ret = _SelectListInternal(manager
                                              , idfsSettlement
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #23
0
            public List <SmphInvisibleFieldsLookup> _SelectList(DbManagerProxy manager
                                                                , Int64?idfCustomizationPackage
                                                                , on_action loading, on_action loaded
                                                                )
            {
                var ret = _SelectListInternal(manager
                                              , idfCustomizationPackage
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #24
0
            protected virtual LinkObject _SelectByKeyInternal(DbManagerProxy manager
                                                              , Int64?ID
                                                              , on_action loading, on_action loaded
                                                              )
            {
                MapResultSet[]    sets = new MapResultSet[1];
                List <LinkObject> objs = new List <LinkObject>();

                sets[0] = new MapResultSet(typeof(LinkObject), objs);
                LinkObject obj = null;

                try
                {
                    manager
                    .SetSpCommand("spLinkObject_SelectDetail"
                                  , manager.Parameter("@ID", ID)
                                  , manager.Parameter("@LangID", ModelUserContext.CurrentLanguage)

                                  )
                    .ExecuteResultSet(sets);

                    if (objs.Count == 0)
                    {
                        return(null);
                    }

                    obj      = objs[0];
                    obj.m_CS = m_CS;


                    if (loading != null)
                    {
                        loading(obj);
                    }
                    _SetupLoad(manager, obj);


                    //obj._setParent();
                    if (loaded != null)
                    {
                        loaded(obj);
                    }
                    obj.Loaded(manager);
                    return(obj);
                }
                catch (DataException e)
                {
                    throw DbModelException.Create(obj, e);
                }
            }
Beispiel #25
0
 public List<FFTemplateLookup> _SelectList(DbManagerProxy manager
     , Int64? idfsFormTemplate
     , Int64? idfsFormType
     , on_action loading, on_action loaded
     )
 {
     var ret = _SelectListInternal(manager
         , idfsFormTemplate
         , idfsFormType
         , loading
         , loaded
         );
       
       return ret;
 }
Beispiel #26
0
            public List <DepartmentLookup> _SelectList(DbManagerProxy manager
                                                       , Int64?OrganizationID
                                                       , Int64?ID
                                                       , on_action loading, on_action loaded
                                                       )
            {
                var ret = _SelectListInternal(manager
                                              , OrganizationID
                                              , ID
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #27
0
            public List <RegionForAzReportLookup> _SelectList(DbManagerProxy manager
                                                              , Int64?CountryID
                                                              , Int64?ID
                                                              , on_action loading, on_action loaded
                                                              )
            {
                var ret = _SelectListInternal(manager
                                              , CountryID
                                              , ID
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #28
0
            public List <SmphGisBaseReferenceTranslationLookup> _SelectList(DbManagerProxy manager
                                                                            , Int64?idfsCountry
                                                                            , String lang
                                                                            , on_action loading, on_action loaded
                                                                            )
            {
                var ret = _SelectListInternal(manager
                                              , idfsCountry
                                              , lang
                                              , loading
                                              , loaded
                                              );

                return(ret);
            }
Beispiel #29
0
            public virtual List <TestDiagnosisLookup> _SelectListInternal(DbManagerProxy manager
                                                                          , Int64?idfMaterial
                                                                          , Int64?idfCase
                                                                          , Int64?idfCaseType
                                                                          , on_action loading, on_action loaded
                                                                          )
            {
                TestDiagnosisLookup _obj = null;

                try
                {
                    MapResultSet[]             sets = new MapResultSet[1];
                    List <TestDiagnosisLookup> objs = new List <TestDiagnosisLookup>();
                    sets[0] = new MapResultSet(typeof(TestDiagnosisLookup), objs);

                    manager
                    .SetSpCommand("spLabTestEditable_GetSampleDiagnosis"
                                  , manager.Parameter("@idfMaterial", idfMaterial)
                                  , manager.Parameter("@idfCase", idfCase)
                                  , manager.Parameter("@idfCaseType", idfCaseType)
                                  , manager.Parameter("@LangID", ModelUserContext.CurrentLanguage)

                                  )
                    .ExecuteResultSet(sets);
                    foreach (var obj in objs)
                    {
                        _obj     = obj;
                        obj.m_CS = m_CS;

                        if (loading != null)
                        {
                            loading(obj);
                        }
                        _SetupLoad(manager, obj);

                        if (loaded != null)
                        {
                            loaded(obj);
                        }
                    }

                    return(objs);
                }
                catch (DataException e)
                {
                    throw DbModelException.Create(_obj, e);
                }
            }
Beispiel #30
0
            protected virtual VetAggregateActionDetailed _SelectByKeyInternal(DbManagerProxy manager
                                                                              , Int64?idfAggrCase
                                                                              , on_action loading, on_action loaded
                                                                              )
            {
                MapResultSet[] sets = new MapResultSet[1];
                List <VetAggregateActionDetailed> objs = new List <VetAggregateActionDetailed>();

                sets[0] = new MapResultSet(typeof(VetAggregateActionDetailed), objs);
                VetAggregateActionDetailed obj = null;

                try
                {
                    manager
                    .SetSpCommand("spVetAggregateActionDetailed_SelectDetail"
                                  , manager.Parameter("@idfAggrCase", idfAggrCase)
                                  )
                    .ExecuteResultSet(sets);

                    if (objs.Count == 0)
                    {
                        return(null);
                    }

                    obj      = objs[0];
                    obj.m_CS = m_CS;


                    if (loading != null)
                    {
                        loading(obj);
                    }
                    _SetupLoad(manager, obj);


                    //obj._setParent();
                    if (loaded != null)
                    {
                        loaded(obj);
                    }
                    obj.Loaded(manager);
                    return(obj);
                }
                catch (DataException e)
                {
                    throw DbModelException.Create(obj, e);
                }
            }