public returnGetEditingWorkspace GetEditingWorkspace(int ID) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace obj = new RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace(dbconn); return(obj.GetEditingWorkspace(ID)); }
public int NewEditingWorkspace(string Commentary, DateTime TimeOfBirth, int SubProcessID, int UserID, int EntAssignmentSetID) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace obj = new RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace(dbconn); return(obj.NewEditingWorkspace(Commentary, TimeOfBirth, SubProcessID, UserID, EntAssignmentSetID)); }
public returnListEditingWorkspaceBySubProcess[] ListEditingWorkspaceBySubProcess(int?maxRowsToReturn, int SubProcessID) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace obj = new RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace(dbconn); return(obj.ListEditingWorkspaceBySubProcess(maxRowsToReturn, SubProcessID)); }
public returnListEditingWorkspace[] ListEditingWorkspace(int?maxRowsToReturn) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace obj = new RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace(dbconn); return(obj.ListEditingWorkspace(maxRowsToReturn)); }
public int SetEditingWorkspace(int ID, string Commentary, DateTime TimeOfBirth, bool HasUnsavedChanges, int SubProcessID, int UserID, int EntAssignmentSetID) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace obj = new RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace(dbconn); return(obj.SetEditingWorkspace(ID, Commentary, TimeOfBirth, HasUnsavedChanges, SubProcessID, UserID, EntAssignmentSetID)); }
protected void AssignTemporaryDirectory(RBSR_AUFW.DB.IEditingWorkspace.IEditingWorkspace obj) { string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data"; if (!Directory.Exists(wsAppData)) { Directory.CreateDirectory(wsAppData); } obj.TempDir = wsAppData; }