Пример #1
0
        public void Insert(int EmployeeID, string TerritoryID)
        {
            Employeeterritory item = new Employeeterritory();

            item.EmployeeID = EmployeeID;

            item.TerritoryID = TerritoryID;


            item.Save(UserName);
        }
Пример #2
0
        public void Update(int EmployeeID, string TerritoryID)
        {
            Employeeterritory item = new Employeeterritory();

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

            item.EmployeeID = EmployeeID;

            item.TerritoryID = TerritoryID;

            item.Save(UserName);
        }
Пример #3
0
 public bool Destroy(object EmployeeID)
 {
     return(Employeeterritory.Destroy(EmployeeID) == 1);
 }
Пример #4
0
 public bool Delete(object EmployeeID)
 {
     return(Employeeterritory.Delete(EmployeeID) == 1);
 }