Class CreatedPackageSchemaDto
Represents the data transfer object (DTO) for the schema of a package that has been created in the persistence layer.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Persistence.Dtos
Assembly: Umbraco.Infrastructure.dll
Syntax
public class CreatedPackageSchemaDto
Constructors
View SourceCreatedPackageSchemaDto()
Declaration
public CreatedPackageSchemaDto()
Fields
View SourcePrimaryKeyColumnName
Declaration
public const string PrimaryKeyColumnName = "id"
Field Value
| Type | Description |
|---|---|
| string |
TableName
Declaration
public const string TableName = "umbracoCreatedPackageSchema"
Field Value
| Type | Description |
|---|---|
| string |
Properties
View SourceId
Gets or sets the unique identifier for the created package schema.
Declaration
[PrimaryKeyColumn]
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Name
Gets or sets the name of the package schema.
Declaration
[Length(255)]
[NullSetting(NullSetting = NullSettings.NotNull)]
[Index(IndexTypes.UniqueNonClustered, ForColumns = "name", Name = "IX_umbracoCreatedPackageSchema_Name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PackageId
Gets or sets the unique identifier of the package.
Declaration
[NullSetting(NullSetting = NullSettings.NotNull)]
public Guid PackageId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
UpdateDate
Gets or sets the date and time when the package schema was last updated.
Declaration
[Constraint(Default = SystemMethods.CurrentUTCDateTime)]
public DateTime UpdateDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Value
Gets or sets the serialized value representing the schema of the created package.
Declaration
[SpecialDbType(SpecialDbTypes.NVARCHARMAX)]
[NullSetting(NullSetting = NullSettings.NotNull)]
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |