public UserPasswordResetRequestData Fetch(UserPasswordResetRequestDataCriteria criteria)
        {
            var data = MockDb.Users
                       .Where(row => row.Email == criteria.Email)
                       .Single();

            var result = new UserPasswordResetRequestData();

            result.Email = data.Email;
            result.Token = data.Token;
            result.TokenExpirationDate = data.TokenExpirationDate;

            return(result);
        }
        private void DataPortal_Fetch(UserPasswordResetRequestDataCriteria criteria)
        {
            using (var dalManager = DataFactoryManager.GetManager())
            {
                var dalFactory = dalManager.GetProvider<IUserPasswordResetRequestDataFactory>();

                var data = dalFactory.Fetch(criteria);

                using (this.BypassPropertyChecks)
                {
                    this.Fetch(data);
                }
            }
        }
        private void DataPortal_Fetch(UserPasswordResetRequestDataCriteria criteria)
        {
            using (var dalManager = DataFactoryManager.GetManager())
            {
                var dalFactory = dalManager.GetProvider <IUserPasswordResetRequestDataFactory>();

                var data = dalFactory.Fetch(criteria);

                using (this.BypassPropertyChecks)
                {
                    this.Fetch(data);
                }
            }
        }
        public UserPasswordResetRequestData Fetch(UserPasswordResetRequestDataCriteria criteria)
        {
            var data = MockDb.Users
                .Where(row => row.Email == criteria.Email)
                .Single();

            var result = new UserPasswordResetRequestData();

            result.Email = data.Email;
            result.Token = data.Token;
            result.TokenExpirationDate = data.TokenExpirationDate;

            return result;
        }
 internal static UserPasswordResetRequest FetchUserPasswordResetRequest(UserPasswordResetRequestDataCriteria criteria)
 {
     return(Csla.DataPortal.Fetch <UserPasswordResetRequest>(criteria));
 }
 internal static UserPasswordResetRequest FetchUserPasswordResetRequest(UserPasswordResetRequestDataCriteria criteria)
 {
     return Csla.DataPortal.Fetch<UserPasswordResetRequest>(criteria);
 }