Пример #1
0
 public virtual DataRow InsertUpdatePosts(BALPosts BAL, string Offset, string Next)
 {
     SqlParameter[] param =
     {
         new SqlParameter("@ID",            BAL.ID),
         new SqlParameter("@UserID",        BAL.UserID),
         new SqlParameter("@Title",         BAL.Title),
         new SqlParameter("@CatID",         BAL.CategoryID),
         new SqlParameter("@Body",          BAL.Body),
         new SqlParameter("@IsPublic",      BAL.IsPublic),
         new SqlParameter("@IsActive",      BAL.IsActive),
         new SqlParameter("@OriginalName",  BAL.OrignalName),
         new SqlParameter("@GeneratedName", BAL.GeneratedName),
         new SqlParameter("@Offset",        Offset),
         new SqlParameter("@Next",          Next)
     };
     return(SqlHelper.ExecuteDataTable(FCommon.ConStr, CommandType.StoredProcedure, "spInsertUpdatePosts", param).Rows[0]);
 }
Пример #2
0
 public override DataRow InsertUpdatePosts(BALPosts BAL, string Offset, string Next)
 {
     return(base.InsertUpdatePosts(BAL, Offset, Next));
 }