public static int Import(Models.Board board, int userId, bool merge = false) { return(Sql.ExecuteScalar <int>( "Board_Import", new { board.orgId, board.teamId, userId, board.name, board.favorite, board.color, merge } )); }
public static int CreateBoard(Models.Board board, int userId) { return(Sql.ExecuteScalar <int>( "Board_Create", new { board.orgId, board.teamId, userId, board.name, board.favorite, board.color, board.cardtype } )); }
public static void UpdateBoard(Models.Board board) { Sql.ExecuteNonQuery( "Board_Update", new { board.boardId, board.orgId, board.name, board.color, board.cardtype } ); }
public static int CreateBoard(Models.Board board, int userId) { return(Sql.ExecuteScalar <int>( "Board_Create", new { userId, board.teamId, board.favorite, board.name, board.security, board.color } )); }
public static void UpdateBoard(Models.Board board) { Sql.ExecuteNonQuery( "Board_Update", new Dictionary <string, object>() { { "boardId", board.boardId }, { "teamId", board.teamId }, { "name", board.name }, { "color", board.color } } ); }
public static int CreateBoard(Models.Board board, int userId) { return(Sql.ExecuteScalar <int>( "Board_Create", new Dictionary <string, object>() { { "userId", userId }, { "teamId", board.teamId }, { "favorite", board.favorite }, { "name", board.name }, { "security", board.security }, { "color", board.color } } )); }
public static int Import(Models.Board board, int userId, bool merge = false) { return(Sql.ExecuteScalar <int>( "Board_Import", new Dictionary <string, object>() { { "userId", userId }, { "teamId", board.teamId }, { "favorite", board.favorite }, { "name", board.name }, { "security", board.security }, { "color", board.color }, { "merge", merge } } )); }