예제 #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));
        }
예제 #2
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));
 }