Пример #1
0
        public void Insert(int IdProfesional, int IdEfector, string CreatedBy, DateTime CreatedOn, string ModifiedBy, DateTime ModifiedOn)
        {
            SysRelProfesionalEfector item = new SysRelProfesionalEfector();

            item.IdProfesional = IdProfesional;

            item.IdEfector = IdEfector;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;


            item.Save(UserName);
        }
Пример #2
0
        public void Update(int IdRelProfesionalEfector, int IdProfesional, int IdEfector, string CreatedBy, DateTime CreatedOn, string ModifiedBy, DateTime ModifiedOn)
        {
            SysRelProfesionalEfector item = new SysRelProfesionalEfector();

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

            item.IdRelProfesionalEfector = IdRelProfesionalEfector;

            item.IdProfesional = IdProfesional;

            item.IdEfector = IdEfector;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;

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