コード例 #1
0
        public void Insert(string CustomerTypeID, string CustomerDesc)
        {
            CustomerDemographic item = new CustomerDemographic();

            item.CustomerTypeID = CustomerTypeID;

            item.CustomerDesc = CustomerDesc;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(string CustomerTypeID, string CustomerDesc)
        {
            CustomerDemographic item = new CustomerDemographic();

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

            item.CustomerTypeID = CustomerTypeID;

            item.CustomerDesc = CustomerDesc;

            item.Save(UserName);
        }