public T MapToTableModel <T>() where T : class { DataAccessLogic.tblBranch branch = new DataAccessLogic.tblBranch(); branch.ID = this.ID; branch.Name = this.Name; return(branch as T); }
public BranchEntity(DataAccessLogic.tblBranch tblBranch) { this.ID = tblBranch.ID; this.Name = tblBranch.Name; }