Beispiel #1
0
 public static int SpRenamediagram(this RazorBaseDB dataConnection, string @diagramname, int? @owner_id, string @new_diagramname)
 {
     return(dataConnection.ExecuteProc("[dbo].[sp_renamediagram]",
                                       new DataParameter("@diagramname", @diagramname, DataType.NVarChar),
                                       new DataParameter("@owner_id", @owner_id, DataType.Int32),
                                       new DataParameter("@new_diagramname", @new_diagramname, DataType.NVarChar)));
 }
Beispiel #2
0
 public static int SpAlterdiagram(this RazorBaseDB dataConnection, string @diagramname, int? @owner_id, int? @version, byte[] @definition)
 {
     return(dataConnection.ExecuteProc("[dbo].[sp_alterdiagram]",
                                       new DataParameter("@diagramname", @diagramname, DataType.NVarChar),
                                       new DataParameter("@owner_id", @owner_id, DataType.Int32),
                                       new DataParameter("@version", @version, DataType.Int32),
                                       new DataParameter("@definition", @definition, DataType.VarBinary)));
 }