Exemplo n.º 1
0
        public void Insert(int EmployeeID, string TerritoryID)
        {
            Employeeterritory item = new Employeeterritory();

            item.EmployeeID = EmployeeID;

            item.TerritoryID = TerritoryID;


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