Esempio n. 1
0
        private async Task DataPortal_Fetch()
        {
            var provider = new DataAccess.DataProviderFactory().GetDataProvider();
            var dal      = provider.GetApplicationDataProvider();
            var data     = await dal.Get();

            using (BypassPropertyChecks)
            {
                UserApplicationProfile   = DataPortal.FetchChild <UserApplicationProfile>(data.UserApplicationProfile);
                PermittedLoginIdentities = DataPortal.FetchChild <UserIdentityList>(data.PermittedLoginIdentities);
            }
        }
Esempio n. 2
0
 protected override void DataPortal_Create()
 {
     UserApplicationProfile   = DataPortal.CreateChild <UserApplicationProfile>();
     PermittedLoginIdentities = DataPortal.CreateChild <UserIdentityList>();
 }