Пример #1
0
        public void Insert(int?FilterCompanyID, int?AppliesToCompanyID, byte[] FilterTS)
        {
            FilterCompany item = new FilterCompany();

            item.FilterCompanyID = FilterCompanyID;

            item.AppliesToCompanyID = AppliesToCompanyID;

            item.FilterTS = FilterTS;


            item.Save(UserName);
        }
Пример #2
0
        public void Update(int FilterID, int?FilterCompanyID, int?AppliesToCompanyID, byte[] FilterTS)
        {
            FilterCompany item = new FilterCompany();

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

            item.FilterID = FilterID;

            item.FilterCompanyID = FilterCompanyID;

            item.AppliesToCompanyID = AppliesToCompanyID;

            item.FilterTS = FilterTS;

            item.Save(UserName);
        }