示例#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);
 }