コード例 #1
0
 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());
 }
コード例 #2
0
 public AutomatedDataHandlerBase(Assembly assembly, string schema) : this(AutomatedDataHandlerBase.BuildProfile(assembly, schema))
 {
     this.Assembly        = assembly;
     this.SchemaName      = schema;
     this.Table.TableName = schema;
 }