Script

Namespace: Babel.Data Assembly: Babel.Data.dll

Represents a script entity.

public class Script : EntityTracker, INotifyPropertyChanged

Inheritance

objectEntityTrackerScript

Implements

INotifyPropertyChanged

Inherited Members

EntityTracker.SetWithNotify<T>(T, ref T, string), EntityTracker.IsDirty, EntityTracker.PropertyChanged, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

Script()

public Script()

Properties

Author

Gets or sets the author of the script.

[ForeignKey("AuthorId")]
public virtual User Author { get; set; }

Property Value

User

AuthorId

Gets or sets the ID of the author of the script.

public string AuthorId { get; set; }

Property Value

string

Category

Gets or sets the category of the script.

public string Category { get; set; }

Property Value

string

CreatedAt

Gets or sets the date and time when the script was created.

public DateTime? CreatedAt { get; set; }

Property Value

DateTime?

Description

Gets or sets the description of the script.

public string Description { get; set; }

Property Value

string

Id

Gets or sets the ID of the script.

public int Id { get; set; }

Property Value

int

Language

Gets or sets the language of the script.

public string Language { get; set; }

Property Value

string

Metadata

Gets or sets the metadata of the script.

public string Metadata { get; set; }

Property Value

string

Name

Gets or sets the name of the script.

public string Name { get; set; }

Property Value

string

SourceCode

Gets or sets the source code of the script.

public string SourceCode { get; set; }

Property Value

string

Tags

Gets or sets the tags associated with the script.

public virtual ICollection<ScriptTag> Tags { get; set; }

Property Value

ICollection<ScriptTag>

UpdatedAt

Gets or sets the date and time when the script was last updated.

public DateTime? UpdatedAt { get; set; }

Property Value

DateTime?

Version

Gets or sets the version of the script.

public string Version { get; set; }

Property Value

string

Last updated