public override bool HasPermission() { if (!string.IsNullOrEmpty(this.Schema) && null != this.Assembly) { PageConfigurableProfile pageConfigurableProfile = AutomatedDataHandlerBase.BuildProfile(this.Assembly, this.Schema) as PageConfigurableProfile; return(pageConfigurableProfile.HasPermission()); } return(base.HasPermission()); }
public AutomatedDataHandlerBase(Assembly assembly, string schema) : this(AutomatedDataHandlerBase.BuildProfile(assembly, schema)) { this.Assembly = assembly; this.SchemaName = schema; this.Table.TableName = schema; }