Esempio n. 1
0
 public void Setup()
 {
     this.ident = new GenericIdentity("testuser");
     DbProfileProviderData data = new DbProfileProviderData("name", "EntLibSecurity");
     this.profile = new DbProfileProvider();
     profile.Initialize(new TestProfileConfigurationView(data, Context));
 }
 public TestProfileConfigurationView(DbProfileProviderData data, ConfigurationContext context)
     : base(context)
 {
     this.data = data;
 }