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); } }
protected override void DataPortal_Create() { UserApplicationProfile = DataPortal.CreateChild <UserApplicationProfile>(); PermittedLoginIdentities = DataPortal.CreateChild <UserIdentityList>(); }