/// <summary>Creates a new, empty PostAttachmentEntity object.</summary>
        /// <returns>A new, empty PostAttachmentEntity object.</returns>
        public override IEntity2 Create()
        {
            IEntity2 toReturn = new PostAttachmentEntity();

            // __LLBLGENPRO_USER_CODE_REGION_START CreateNewPostAttachment
            // __LLBLGENPRO_USER_CODE_REGION_END
            return toReturn;
        }
        /// <summary>Creates a new PostAttachmentEntity 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 PostAttachmentEntity(fields);

            // __LLBLGENPRO_USER_CODE_REGION_START CreateNewPostAttachmentUsingFields
            // __LLBLGENPRO_USER_CODE_REGION_END
            return toReturn;
        }
Beispiel #3
0
 /// <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(PostAttachmentEntity.GetRelationsForField(fieldName));
 }