/// <summary>Creates a new, empty TeamPostEntity object.</summary> /// <returns>A new, empty TeamPostEntity object.</returns> public override IEntity2 Create() { IEntity2 toReturn = new TeamPostEntity(); // __LLBLGENPRO_USER_CODE_REGION_START CreateNewTeamPost // __LLBLGENPRO_USER_CODE_REGION_END return toReturn; }
/// <summary>Creates a new TeamPostEntity 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 TeamPostEntity(fields); // __LLBLGENPRO_USER_CODE_REGION_START CreateNewTeamPostUsingFields // __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(TeamPostEntity.GetRelationsForField(fieldName)); }