コード例 #1
0
        private void GetEmbeddedProperties(ref Employee ThisObject)
        {
            /*
            if (ThisObject.PatentNumber != null && ThisObject.PatentNumber.Length > 0)
            {
                //notes:    get associated classifications
                ThisObject.Classifications = new FlowManager.PatentClassificationFlow().GetClassificationCollection(ThisObject.PatentNumber);

                //notes:    get associated keywords
                ThisObject.Keywords = new FlowManager.KeywordFlow().GetPatentKeywords(ThisObject.PatentNumber);
            }
            */
        }
コード例 #2
0
        private ParameterCollection GetBaseParams(Employee ThisObject)
        {
            //notes:    set base parameters - used mostly for insert/update methods
            ParameterCollection objHelperParamList = new ParameterCollection();

            //if (ThisObject.PatentNumber != null)
            //    objHelperParamList.Add(ThisObject.PatentNumber.GetParameterVarchar("@PatentNumber", 10));

            return objHelperParamList;
        }