/// <summary>Creates the relations collection to the entity to join all targets so this entity can be fetched. </summary>
/// <param name="objectAlias">The object alias to use for the elements in the relations.</param>
/// <returns>null if the entity isn't in a hierarchy of type TargetPerEntity, otherwise the relations collection needed to join all targets together to fetch all subtypes of this entity and this entity itself</returns>
/// <summary>Creates the hierarchy fields for the entity to which this factory belongs.</summary>
/// <returns>IEntityFields2 object with the fields of all the entities in teh hierarchy of this entity or the fields of this entity if the entity isn't in a hierarchy.</returns>
/// <summary>Creates a new TblAgeGroupEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblAgencyEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblChildEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblClinicInfoEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblCommuneEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblDiaryEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblDistrictEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblExaminationInfoEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblPatientEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblPreClinicsInfoEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblPregnanceInfoEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblProvinceEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblReferralFromPlaceEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblReferralsToEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblReferraltoServiceEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblRegimenEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblRegimenStopReasonEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblServiceEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblTestEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblTreatmentEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblTreatmentInfoEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new TblWaitingListEntity instance but uses a special constructor which will set the Fields object of the new IEntity2 instance to the passed in fields object.</summary>
/// <param name="fields">Populated IEntityFields2 object for the new IEntity2 to create</param>
/// <returns>Fully created and populated (due to the IEntityFields2 object) IEntity2 object</returns>
/// <summary>Creates a new dynamic relation instance</summary>
/// <param name="leftOperand">The left operand.</param>
/// <param name="joinType">Type of the join. If None is specified, Inner is assumed.</param>
/// <param name="rightOperand">The right operand.</param>
/// <param name="aliasLeftOperand">The alias of the left operand. If you don't want to / need to alias the right operand (only alias if you have to), specify string.Empty.</param>
/// <param name="onClause">The on clause for the join.</param>
/// <returns>ready to use dynamic relation</returns>
/// <summary>Creates a new dynamic relation instance</summary>
/// <param name="leftOperand">The left operand.</param>
/// <param name="joinType">Type of the join. If None is specified, Inner is assumed.</param>
/// <param name="rightOperandEntityName">Name of the entity, which is used as the right operand.</param>
/// <param name="aliasRightOperand">The alias of the right operand. If you don't want to / need to alias the right operand (only alias if you have to), specify string.Empty.</param>
/// <param name="onClause">The on clause for the join.</param>
/// <returns>ready to use dynamic relation</returns>
/// <summary>Creates a new dynamic relation instance</summary>
/// <param name="leftOperandEntityName">Name of the entity which is used as the left operand.</param>
/// <param name="joinType">Type of the join. If None is specified, Inner is assumed.</param>
/// <param name="rightOperandEntityName">Name of the entity, which is used as the right operand.</param>
/// <param name="aliasLeftOperand">The alias of the left operand. If you don't want to / need to alias the right operand (only alias if you have to), specify string.Empty.</param>
/// <param name="aliasRightOperand">The alias of the right operand. If you don't want to / need to alias the right operand (only alias if you have to), specify string.Empty.</param>
/// <param name="onClause">The on clause for the join.</param>
/// <returns>ready to use dynamic relation</returns>
/// <summary>Creates a new dynamic relation instance</summary>
/// <param name="leftOperand">The left operand.</param>
/// <param name="joinType">Type of the join. If None is specified, Inner is assumed.</param>
/// <param name="rightOperandEntityName">Name of the entity, which is used as the right operand.</param>
/// <param name="aliasLeftOperand">The alias of the left operand. If you don't want to / need to alias the right operand (only alias if you have to), specify string.Empty.</param>
/// <param name="aliasRightOperand">The alias of the right operand. If you don't want to / need to alias the right operand (only alias if you have to), specify string.Empty.</param>
/// <param name="onClause">The on clause for the join.</param>
/// <returns>ready to use dynamic relation</returns>
/// <summary>General method which will return an array of IEntityFieldCore objects, used by the InheritanceInfoProvider. Only the fields defined in the entity are returned, no inherited fields.</summary>
/// <param name="entityName">the name of the entity to get the fields for. Example: "CustomerEntity"</param>
/// <returns>array of IEntityFieldCore fields, defined in the entity with the name specified</returns>
/// <summary>Creates a new field object with the name specified and of resulttype 'object'. Used for referring to aliased fields in another projection.</summary>
/// <param name="fieldName">Name of the field.</param>
/// <returns>Ready to use field object</returns>
publicEntityField2Field(stringfieldName)
{
returnField<object>(string.Empty,fieldName);
}
/// <summary>Creates a new field object with the name specified and of resulttype 'object'. Used for referring to aliased fields in another projection.</summary>
/// <param name="targetAlias">The alias of the table/query to target.</param>
/// <param name="fieldName">Name of the field.</param>
/// <summary>Creates a new field object with the name specified and of resulttype 'TValue'. Used for referring to aliased fields in another projection.</summary>
/// <typeparam name="TValue">The type of the value represented by the field.</typeparam>
/// <param name="fieldName">Name of the field.</param>
/// <returns>Ready to use field object</returns>
publicEntityField2Field<TValue>(stringfieldName)
{
returnField<TValue>(string.Empty,fieldName);
}
/// <summary>Creates a new field object with the name specified and of resulttype 'TValue'. Used for referring to aliased fields in another projection.</summary>
/// <typeparam name="TValue">The type of the value.</typeparam>
/// <param name="targetAlias">The alias of the table/query to target.</param>
/// <param name="fieldName">Name of the field.</param>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.