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); }
internal SystemUserProfilePropertysWrapper(SystemUserProfilePropertysEntity entityObj) { entity = entityObj; }
internal static SystemUserProfilePropertysWrapper ConvertEntityToWrapper(SystemUserProfilePropertysEntity entity) { if (entity == null) return null; if (entity.PropertyID == 0) return null; return new SystemUserProfilePropertysWrapper(entity); }