public object GetUserProfileByUserIDAndPropertys(SystemUserEntity userEntity, SystemUserProfilePropertysEntity propertysEntity)
        {
            NHibernateDynamicQueryGenerator<SystemUserProfileEntity> queryGenerator = this.GetNewQueryBuilder();

            queryGenerator.AddWhereClause(PROPERTY_USERID.Eq(userEntity));

            queryGenerator.AddWhereClause(PROPERTY_PROPERTYID.Eq(propertysEntity));

            return this.FindListByQueryBuilder(queryGenerator);
        }
Esempio n. 2
0
 internal SystemUserProfilePropertysWrapper(SystemUserProfilePropertysEntity entityObj)
 {
     entity = entityObj;
 }
Esempio n. 3
0
        internal static SystemUserProfilePropertysWrapper ConvertEntityToWrapper(SystemUserProfilePropertysEntity entity)
        {
            if (entity == null)
                return null;
				
            if (entity.PropertyID == 0)
                return null;

            return new SystemUserProfilePropertysWrapper(entity);
        }