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