Esempio n. 1
0
        public void Insert(string OptionName, string FieldName, int?SearchTypeID, string Description)
        {
            DDSearchOption item = new DDSearchOption();

            item.OptionName = OptionName;

            item.FieldName = FieldName;

            item.SearchTypeID = SearchTypeID;

            item.Description = Description;


            item.Save(UserName);
        }
Esempio n. 2
0
        public void Update(int OptionID, string OptionName, string FieldName, int?SearchTypeID, string Description)
        {
            DDSearchOption item = new DDSearchOption();

            item.MarkOld();
            item.IsLoaded = true;

            item.OptionID = OptionID;

            item.OptionName = OptionName;

            item.FieldName = FieldName;

            item.SearchTypeID = SearchTypeID;

            item.Description = Description;

            item.Save(UserName);
        }