Class BaseEntity
Represents a base entity.
Inheritance
BaseEntity
Implements
Namespace: BiExcellence.OpenBi.Api.Commands.Entities
Assembly: BiExcellence.OpenBi.Api.Entity.dll
Syntax
public class BaseEntity : IBaseEntity, ICustomAttributes
Constructors
BaseEntity()
Initializes a new instance of the BaseEntity class with a new id.
Declaration
public BaseEntity()
BaseEntity(string)
Initializes a new instance of the BaseEntity class.
Declaration
public BaseEntity(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | The id. |
Properties
CustomAttributes
Gets or sets the custom attributes.
Declaration
public IDictionary<string, object?> CustomAttributes { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Description
Gets or sets the description.
Declaration
public string? Description { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityTableName
Gets or sets the table name.
Declaration
public string? EntityTableName { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
The table name cannot be changed after a base entity is created.
Id
Gets the id.
Declaration
public string Id { get; protected set; }
Property Value
Type | Description |
---|---|
string |
Name
Gets or sets the name.
Declaration
public string? Name { get; set; }
Property Value
Type | Description |
---|---|
string |