public returnGetSAPsecurityOrg GetSAPsecurityOrg(int ID) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj = new RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg(dbconn); return(obj.GetSAPsecurityOrg(ID)); }
public int NewSAPsecurityOrg(string Name) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj = new RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg(dbconn); return(obj.NewSAPsecurityOrg(Name)); }
public returnListSAPsecurityOrg[] ListSAPsecurityOrg(int?maxRowsToReturn) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj = new RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg(dbconn); return(obj.ListSAPsecurityOrg(maxRowsToReturn)); }
public int SetSAPsecurityOrg(int ID, string Name) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj = new RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg(dbconn); return(obj.SetSAPsecurityOrg(ID, Name)); }
protected void AssignTemporaryDirectory(RBSR_AUFW.DB.ISAPsecurityOrg.ISAPsecurityOrg obj) { string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data"; if (!Directory.Exists(wsAppData)) { Directory.CreateDirectory(wsAppData); } obj.TempDir = wsAppData; }