public returnGetEntitlement GetEntitlement(int ID) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.IEntitlement.IEntitlement obj = new RBSR_AUFW.DB.IEntitlement.IEntitlement(dbconn); return(obj.GetEntitlement(ID)); }
public int NewEntitlement(string StandardActivity, string RoleType, string System, string Platform, string EntitlementName, string EntitlementValue, string Application, string CHECKSUM) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.IEntitlement.IEntitlement obj = new RBSR_AUFW.DB.IEntitlement.IEntitlement(dbconn); return(obj.NewEntitlement(StandardActivity, RoleType, System, Platform, EntitlementName, EntitlementValue, Application, CHECKSUM)); }
public returnListEntitlement[] ListEntitlement(int?maxRowsToReturn, string extendedCriteria, string[] extendedParameters, string extendedSortOrder) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.IEntitlement.IEntitlement obj = new RBSR_AUFW.DB.IEntitlement.IEntitlement(dbconn); return(obj.ListEntitlement(maxRowsToReturn, extendedCriteria, extendedParameters, extendedSortOrder)); }
public int SetEntitlement(int ID, string StandardActivity, string RoleType, string System, string Platform, string EntitlementName, string EntitlementValue, string AuthObjName, string AuthObjValue, string FieldSecName, string FieldSecValue, string Level4SecName, string Level4SecValue, string Commentary, string GENmanifestValue, string Application, string CHECKSUM, string Status) { OdbcConnection dbconn = new OdbcConnection(GetConnectionString("RBSR_AUFW")); RBSR_AUFW.DB.IEntitlement.IEntitlement obj = new RBSR_AUFW.DB.IEntitlement.IEntitlement(dbconn); return(obj.SetEntitlement(ID, StandardActivity, RoleType, System, Platform, EntitlementName, EntitlementValue, AuthObjName, AuthObjValue, FieldSecName, FieldSecValue, Level4SecName, Level4SecValue, Commentary, GENmanifestValue, Application, CHECKSUM, Status)); }
protected void AssignTemporaryDirectory(RBSR_AUFW.DB.IEntitlement.IEntitlement obj) { string wsAppData = HttpContext.Current.Server.MapPath(".") + "\\App_Data"; if (!Directory.Exists(wsAppData)) { Directory.CreateDirectory(wsAppData); } obj.TempDir = wsAppData; }