Пример #1
0
 public virtual DataRow InsertTeams(BALTeam BAL)
 {
     SqlParameter[] param =
     {
         new SqlParameter("@TeamID",      BAL.TeamID),
         new SqlParameter("@TeamName",    BAL.TeamName),
         new SqlParameter("@Description", BAL.Description),
         new SqlParameter("@CreatedBy",   BAL.CreatedBy),
         new SqlParameter("@CreatedDate", BAL.CreatedDate),
         new SqlParameter("@ImgUrl",      BAL.ImgUrl),
         new SqlParameter("@IssueID",     BAL.IssueID),
         new SqlParameter("@StatusID",    BAL.StatusID),
         new SqlParameter("@IsActive",    BAL.IsActive)
     };
     return(SqlHelper.ExecuteDataTable(FCommon.ConStr, CommandType.StoredProcedure, "spInsertTeams", param).Rows[0]);
 }
Пример #2
0
 public override DataRow InsertTeams(BALTeam BAL)
 {
     return(base.InsertTeams(BAL));
 }