Class BaseEntityInfo
BaseEntityInfo provides auditing fields for Core tables.
Inheritance
System.Object
BaseEntityInfo
Namespace: DotNetNuke.Entities
Assembly: DotNetNuke.dll
Syntax
public abstract class BaseEntityInfo : object
Constructors
| Improve this Doc View SourceBaseEntityInfo()
Initializes a new instance of the BaseEntityInfo class.
Declaration
protected BaseEntityInfo()
Properties
| Improve this Doc View SourceCreatedByUserID
Gets the CreatedByUserID.
Declaration
public int CreatedByUserID { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An Integer. |
CreatedOnDate
Gets the CreatedOnDate.
Declaration
public DateTime CreatedOnDate { get; }
Property Value
Type | Description |
---|---|
DateTime | A DateTime. |
LastModifiedByUserID
Gets the LastModifiedByUserID.
Declaration
public int LastModifiedByUserID { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An Integer. |
LastModifiedOnDate
Gets the LastModifiedOnDate.
Declaration
public DateTime LastModifiedOnDate { get; }
Property Value
Type | Description |
---|---|
DateTime | A DateTime. |
Methods
| Improve this Doc View SourceCloneBaseProperties(BaseEntityInfo, BaseEntityInfo)
Clones the base properties of the entity.
Declaration
protected void CloneBaseProperties(BaseEntityInfo clonedItem, BaseEntityInfo originalItem)
Parameters
Type | Name | Description |
---|---|---|
BaseEntityInfo | clonedItem | The cloned entity (cloned to). |
BaseEntityInfo | originalItem | The original entity (cloned from). |
CreatedByUser(Int32)
Gets the UserInfo object associated with this user.
Declaration
public UserInfo CreatedByUser(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | The PortalID associated with the desired user. |
Returns
Type | Description |
---|---|
UserInfo | A UserInfo object. |
FillInternal(IDataReader)
Fills a BaseEntityInfo from a Data Reader.
Declaration
protected virtual void FillInternal(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr | The Data Reader to use. |
LastModifiedByUser(Int32)
Gets the UserInfo object associated with this user.
Declaration
public UserInfo LastModifiedByUser(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | The PortalID associated with the desired user. |
Returns
Type | Description |
---|---|
UserInfo | A UserInfo object. |