Beispiel #1
0
        public void Insert(int EmployeeID, string TerritoryID)
        {
            Employeeterritory item = new Employeeterritory();

            item.EmployeeID = EmployeeID;

            item.TerritoryID = TerritoryID;


            item.Save(UserName);
        }
Beispiel #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);
        }
Beispiel #3
0
 public bool Destroy(object EmployeeID)
 {
     return(Employeeterritory.Destroy(EmployeeID) == 1);
 }
Beispiel #4
0
 public bool Delete(object EmployeeID)
 {
     return(Employeeterritory.Delete(EmployeeID) == 1);
 }