/// <summary>Creates a new, empty PostTagEntity object.</summary> /// <returns>A new, empty PostTagEntity object.</returns> public override IEntity2 Create() { IEntity2 toReturn = new PostTagEntity(); // __LLBLGENPRO_USER_CODE_REGION_START CreateNewPostTag // __LLBLGENPRO_USER_CODE_REGION_END return toReturn; }
/// <summary>Creates a new PostTagEntity 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> public override IEntity2 Create(IEntityFields2 fields) { IEntity2 toReturn = new PostTagEntity(fields); // __LLBLGENPRO_USER_CODE_REGION_START CreateNewPostTagUsingFields // __LLBLGENPRO_USER_CODE_REGION_END return toReturn; }
/// <summary>Gets the relation objects which represent the relation the fieldName specified is mapped on. </summary> /// <param name="fieldName">Name of the field mapped onto the relation of which the relation objects have to be obtained.</param> /// <returns>RelationCollection with relation object(s) which represent the relation the field is maped on</returns> public override RelationCollection GetRelationsForFieldOfType(string fieldName) { return(PostTagEntity.GetRelationsForField(fieldName)); }