Ejemplo n.º 1
0
        /// <summary>Creates a new UserRoleLinkEntity instance but uses a special constructor which will set the Fields object of the new
        /// IEntity2 instance to the passed in fields object. Implement this method to support multi-type in single table inheritance.</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 virtual IEntity2 Create(IEntityFields2 fields)
        {
            IEntity2 toReturn = new UserRoleLinkEntity(fields);

            // __LLBLGENPRO_USER_CODE_REGION_START CreateNewUserRoleLinkUsingFields
            // __LLBLGENPRO_USER_CODE_REGION_END
            return toReturn;
        }
Ejemplo n.º 2
0
        /// <summary>Creates a new, empty UserRoleLinkEntity object.</summary>
        /// <returns>A new, empty UserRoleLinkEntity object.</returns>
        public virtual IEntity2 Create()
        {
            IEntity2 toReturn = new UserRoleLinkEntity();

            // __LLBLGENPRO_USER_CODE_REGION_START CreateNewUserRoleLink
            // __LLBLGENPRO_USER_CODE_REGION_END
            return toReturn;
        }