//------------------------------------------------------------------------------
//
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//
//------------------------------------------------------------------------------
using System;
using System.Data.Objects;
using System.Data.Objects.DataClasses;
using System.Data.EntityClient;
using System.ComponentModel;
using System.Xml.Serialization;
using System.Runtime.Serialization;
[assembly: EdmSchemaAttribute()]
namespace sharpknife
{
#region Contexts
///
/// No Metadata Documentation available.
///
public partial class databaseEntities : ObjectContext
{
#region Constructors
///
/// Initializes a new databaseEntities object using the connection string found in the 'databaseEntities' section of the application configuration file.
///
public databaseEntities() : base("name=databaseEntities", "databaseEntities")
{
this.ContextOptions.LazyLoadingEnabled = true;
OnContextCreated();
}
///
/// Initialize a new databaseEntities object.
///
public databaseEntities(string connectionString) : base(connectionString, "databaseEntities")
{
this.ContextOptions.LazyLoadingEnabled = true;
OnContextCreated();
}
///
/// Initialize a new databaseEntities object.
///
public databaseEntities(EntityConnection connection) : base(connection, "databaseEntities")
{
this.ContextOptions.LazyLoadingEnabled = true;
OnContextCreated();
}
#endregion
#region Partial Methods
partial void OnContextCreated();
#endregion
#region ObjectSet Properties
///
/// No Metadata Documentation available.
///
public ObjectSet LogException
{
get
{
if ((_LogException == null))
{
_LogException = base.CreateObjectSet("LogException");
}
return _LogException;
}
}
private ObjectSet _LogException;
///
/// No Metadata Documentation available.
///
public ObjectSet LogItem
{
get
{
if ((_LogItem == null))
{
_LogItem = base.CreateObjectSet("LogItem");
}
return _LogItem;
}
}
private ObjectSet _LogItem;
///
/// No Metadata Documentation available.
///
public ObjectSet Earning
{
get
{
if ((_Earning == null))
{
_Earning = base.CreateObjectSet("Earning");
}
return _Earning;
}
}
private ObjectSet _Earning;
///
/// No Metadata Documentation available.
///
public ObjectSet Variable
{
get
{
if ((_Variable == null))
{
_Variable = base.CreateObjectSet("Variable");
}
return _Variable;
}
}
private ObjectSet _Variable;
///
/// No Metadata Documentation available.
///
public ObjectSet BalanceLog
{
get
{
if ((_BalanceLog == null))
{
_BalanceLog = base.CreateObjectSet("BalanceLog");
}
return _BalanceLog;
}
}
private ObjectSet _BalanceLog;
///
/// No Metadata Documentation available.
///
public ObjectSet ScheduledCommand
{
get
{
if ((_ScheduledCommand == null))
{
_ScheduledCommand = base.CreateObjectSet("ScheduledCommand");
}
return _ScheduledCommand;
}
}
private ObjectSet _ScheduledCommand;
///
/// No Metadata Documentation available.
///
public ObjectSet Mail
{
get
{
if ((_Mail == null))
{
_Mail = base.CreateObjectSet("Mail");
}
return _Mail;
}
}
private ObjectSet _Mail;
///
/// No Metadata Documentation available.
///
public ObjectSet CommandLog
{
get
{
if ((_CommandLog == null))
{
_CommandLog = base.CreateObjectSet("CommandLog");
}
return _CommandLog;
}
}
private ObjectSet _CommandLog;
///
/// No Metadata Documentation available.
///
public ObjectSet PTCSource
{
get
{
if ((_PTCSource == null))
{
_PTCSource = base.CreateObjectSet("PTCSource");
}
return _PTCSource;
}
}
private ObjectSet _PTCSource;
///
/// No Metadata Documentation available.
///
public ObjectSet StatusLog
{
get
{
if ((_StatusLog == null))
{
_StatusLog = base.CreateObjectSet("StatusLog");
}
return _StatusLog;
}
}
private ObjectSet _StatusLog;
///
/// No Metadata Documentation available.
///
public ObjectSet MailBox
{
get
{
if ((_MailBox == null))
{
_MailBox = base.CreateObjectSet("MailBox");
}
return _MailBox;
}
}
private ObjectSet _MailBox;
///
/// No Metadata Documentation available.
///
public ObjectSet SourceInfo
{
get
{
if ((_SourceInfo == null))
{
_SourceInfo = base.CreateObjectSet("SourceInfo");
}
return _SourceInfo;
}
}
private ObjectSet _SourceInfo;
#endregion
#region AddTo Methods
///
/// Deprecated Method for adding a new object to the LogException EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToLogException(LogException logException)
{
base.AddObject("LogException", logException);
}
///
/// Deprecated Method for adding a new object to the LogItem EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToLogItem(LogItem logItem)
{
base.AddObject("LogItem", logItem);
}
///
/// Deprecated Method for adding a new object to the Earning EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToEarning(Earning earning)
{
base.AddObject("Earning", earning);
}
///
/// Deprecated Method for adding a new object to the Variable EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToVariable(Variable variable)
{
base.AddObject("Variable", variable);
}
///
/// Deprecated Method for adding a new object to the BalanceLog EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToBalanceLog(BalanceLog balanceLog)
{
base.AddObject("BalanceLog", balanceLog);
}
///
/// Deprecated Method for adding a new object to the ScheduledCommand EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToScheduledCommand(ScheduledCommand scheduledCommand)
{
base.AddObject("ScheduledCommand", scheduledCommand);
}
///
/// Deprecated Method for adding a new object to the Mail EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToMail(Mail mail)
{
base.AddObject("Mail", mail);
}
///
/// Deprecated Method for adding a new object to the CommandLog EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToCommandLog(CommandLog commandLog)
{
base.AddObject("CommandLog", commandLog);
}
///
/// Deprecated Method for adding a new object to the PTCSource EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToPTCSource(PTCSource pTCSource)
{
base.AddObject("PTCSource", pTCSource);
}
///
/// Deprecated Method for adding a new object to the StatusLog EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToStatusLog(StatusLog statusLog)
{
base.AddObject("StatusLog", statusLog);
}
///
/// Deprecated Method for adding a new object to the MailBox EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToMailBox(MailBox mailBox)
{
base.AddObject("MailBox", mailBox);
}
///
/// Deprecated Method for adding a new object to the SourceInfo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
///
public void AddToSourceInfo(SourceInfo sourceInfo)
{
base.AddObject("SourceInfo", sourceInfo);
}
#endregion
}
#endregion
#region Entities
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="BalanceLog")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class BalanceLog : EntityObject
{
#region Factory Method
///
/// Create a new BalanceLog object.
///
/// Initial value of the BalanceLogId property.
/// Initial value of the CreatedOn property.
/// Initial value of the ModifiedOn property.
/// Initial value of the Date property.
/// Initial value of the Value property.
public static BalanceLog CreateBalanceLog(global::System.Guid balanceLogId, global::System.DateTime createdOn, global::System.DateTime modifiedOn, global::System.DateTime date, global::System.Decimal value)
{
BalanceLog balanceLog = new BalanceLog();
balanceLog.BalanceLogId = balanceLogId;
balanceLog.CreatedOn = createdOn;
balanceLog.ModifiedOn = modifiedOn;
balanceLog.Date = date;
balanceLog.Value = value;
return balanceLog;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid BalanceLogId
{
get
{
return _BalanceLogId;
}
set
{
if (_BalanceLogId != value)
{
OnBalanceLogIdChanging(value);
ReportPropertyChanging("BalanceLogId");
_BalanceLogId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("BalanceLogId");
OnBalanceLogIdChanged();
}
}
}
private global::System.Guid _BalanceLogId;
partial void OnBalanceLogIdChanging(global::System.Guid value);
partial void OnBalanceLogIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private global::System.DateTime _CreatedOn;
partial void OnCreatedOnChanging(global::System.DateTime value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime ModifiedOn
{
get
{
return _ModifiedOn;
}
set
{
OnModifiedOnChanging(value);
ReportPropertyChanging("ModifiedOn");
_ModifiedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("ModifiedOn");
OnModifiedOnChanged();
}
}
private global::System.DateTime _ModifiedOn;
partial void OnModifiedOnChanging(global::System.DateTime value);
partial void OnModifiedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime Date
{
get
{
return _Date;
}
set
{
OnDateChanging(value);
ReportPropertyChanging("Date");
_Date = StructuralObject.SetValidValue(value);
ReportPropertyChanged("Date");
OnDateChanged();
}
}
private global::System.DateTime _Date;
partial void OnDateChanging(global::System.DateTime value);
partial void OnDateChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Decimal Value
{
get
{
return _Value;
}
set
{
OnValueChanging(value);
ReportPropertyChanging("Value");
_Value = StructuralObject.SetValidValue(value);
ReportPropertyChanged("Value");
OnValueChanged();
}
}
private global::System.Decimal _Value;
partial void OnValueChanging(global::System.Decimal value);
partial void OnValueChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Source
{
get
{
return _Source;
}
set
{
OnSourceChanging(value);
ReportPropertyChanging("Source");
_Source = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Source");
OnSourceChanged();
}
}
private global::System.String _Source;
partial void OnSourceChanging(global::System.String value);
partial void OnSourceChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Type
{
get
{
return _Type;
}
set
{
OnTypeChanging(value);
ReportPropertyChanging("Type");
_Type = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Type");
OnTypeChanged();
}
}
private global::System.String _Type;
partial void OnTypeChanging(global::System.String value);
partial void OnTypeChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="CommandLog")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class CommandLog : EntityObject
{
#region Factory Method
///
/// Create a new CommandLog object.
///
/// Initial value of the CommandLogId property.
public static CommandLog CreateCommandLog(global::System.Guid commandLogId)
{
CommandLog commandLog = new CommandLog();
commandLog.CommandLogId = commandLogId;
return commandLog;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid CommandLogId
{
get
{
return _CommandLogId;
}
set
{
if (_CommandLogId != value)
{
OnCommandLogIdChanging(value);
ReportPropertyChanging("CommandLogId");
_CommandLogId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CommandLogId");
OnCommandLogIdChanged();
}
}
}
private global::System.Guid _CommandLogId;
partial void OnCommandLogIdChanging(global::System.Guid value);
partial void OnCommandLogIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable CommandId
{
get
{
return _CommandId;
}
set
{
OnCommandIdChanging(value);
ReportPropertyChanging("CommandId");
_CommandId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CommandId");
OnCommandIdChanged();
}
}
private Nullable _CommandId;
partial void OnCommandIdChanging(Nullable value);
partial void OnCommandIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private Nullable _CreatedOn;
partial void OnCreatedOnChanging(Nullable value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable ModifiedOn
{
get
{
return _ModifiedOn;
}
set
{
OnModifiedOnChanging(value);
ReportPropertyChanging("ModifiedOn");
_ModifiedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("ModifiedOn");
OnModifiedOnChanged();
}
}
private Nullable _ModifiedOn;
partial void OnModifiedOnChanging(Nullable value);
partial void OnModifiedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String CommandSerialization
{
get
{
return _CommandSerialization;
}
set
{
OnCommandSerializationChanging(value);
ReportPropertyChanging("CommandSerialization");
_CommandSerialization = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("CommandSerialization");
OnCommandSerializationChanged();
}
}
private global::System.String _CommandSerialization;
partial void OnCommandSerializationChanging(global::System.String value);
partial void OnCommandSerializationChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable StatusCode
{
get
{
return _StatusCode;
}
set
{
OnStatusCodeChanging(value);
ReportPropertyChanging("StatusCode");
_StatusCode = StructuralObject.SetValidValue(value);
ReportPropertyChanged("StatusCode");
OnStatusCodeChanged();
}
}
private Nullable _StatusCode;
partial void OnStatusCodeChanging(Nullable value);
partial void OnStatusCodeChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="Earning")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class Earning : EntityObject
{
#region Factory Method
///
/// Create a new Earning object.
///
/// Initial value of the EarningId property.
/// Initial value of the CreatedOn property.
/// Initial value of the Type property.
/// Initial value of the Value property.
/// Initial value of the Source property.
public static Earning CreateEarning(global::System.Guid earningId, global::System.DateTime createdOn, global::System.Int32 type, global::System.Decimal value, global::System.String source)
{
Earning earning = new Earning();
earning.EarningId = earningId;
earning.CreatedOn = createdOn;
earning.Type = type;
earning.Value = value;
earning.Source = source;
return earning;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid EarningId
{
get
{
return _EarningId;
}
set
{
if (_EarningId != value)
{
OnEarningIdChanging(value);
ReportPropertyChanging("EarningId");
_EarningId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("EarningId");
OnEarningIdChanged();
}
}
}
private global::System.Guid _EarningId;
partial void OnEarningIdChanging(global::System.Guid value);
partial void OnEarningIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private global::System.DateTime _CreatedOn;
partial void OnCreatedOnChanging(global::System.DateTime value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Int32 Type
{
get
{
return _Type;
}
set
{
OnTypeChanging(value);
ReportPropertyChanging("Type");
_Type = StructuralObject.SetValidValue(value);
ReportPropertyChanged("Type");
OnTypeChanged();
}
}
private global::System.Int32 _Type;
partial void OnTypeChanging(global::System.Int32 value);
partial void OnTypeChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Decimal Value
{
get
{
return _Value;
}
set
{
OnValueChanging(value);
ReportPropertyChanging("Value");
_Value = StructuralObject.SetValidValue(value);
ReportPropertyChanged("Value");
OnValueChanged();
}
}
private global::System.Decimal _Value;
partial void OnValueChanging(global::System.Decimal value);
partial void OnValueChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.String Source
{
get
{
return _Source;
}
set
{
OnSourceChanging(value);
ReportPropertyChanging("Source");
_Source = StructuralObject.SetValidValue(value, false);
ReportPropertyChanged("Source");
OnSourceChanged();
}
}
private global::System.String _Source;
partial void OnSourceChanging(global::System.String value);
partial void OnSourceChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="LogException")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class LogException : EntityObject
{
#region Factory Method
///
/// Create a new LogException object.
///
/// Initial value of the LogExceptionId property.
/// Initial value of the CreatedOn property.
public static LogException CreateLogException(global::System.Guid logExceptionId, global::System.DateTime createdOn)
{
LogException logException = new LogException();
logException.LogExceptionId = logExceptionId;
logException.CreatedOn = createdOn;
return logException;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid LogExceptionId
{
get
{
return _LogExceptionId;
}
set
{
if (_LogExceptionId != value)
{
OnLogExceptionIdChanging(value);
ReportPropertyChanging("LogExceptionId");
_LogExceptionId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("LogExceptionId");
OnLogExceptionIdChanged();
}
}
}
private global::System.Guid _LogExceptionId;
partial void OnLogExceptionIdChanging(global::System.Guid value);
partial void OnLogExceptionIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private global::System.DateTime _CreatedOn;
partial void OnCreatedOnChanging(global::System.DateTime value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Message
{
get
{
return _Message;
}
set
{
OnMessageChanging(value);
ReportPropertyChanging("Message");
_Message = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Message");
OnMessageChanged();
}
}
private global::System.String _Message;
partial void OnMessageChanging(global::System.String value);
partial void OnMessageChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="LogItem")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class LogItem : EntityObject
{
#region Factory Method
///
/// Create a new LogItem object.
///
/// Initial value of the LogItemId property.
/// Initial value of the CreatedOn property.
/// Initial value of the Message property.
public static LogItem CreateLogItem(global::System.Guid logItemId, global::System.DateTime createdOn, global::System.String message)
{
LogItem logItem = new LogItem();
logItem.LogItemId = logItemId;
logItem.CreatedOn = createdOn;
logItem.Message = message;
return logItem;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid LogItemId
{
get
{
return _LogItemId;
}
set
{
if (_LogItemId != value)
{
OnLogItemIdChanging(value);
ReportPropertyChanging("LogItemId");
_LogItemId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("LogItemId");
OnLogItemIdChanged();
}
}
}
private global::System.Guid _LogItemId;
partial void OnLogItemIdChanging(global::System.Guid value);
partial void OnLogItemIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private global::System.DateTime _CreatedOn;
partial void OnCreatedOnChanging(global::System.DateTime value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.String Message
{
get
{
return _Message;
}
set
{
OnMessageChanging(value);
ReportPropertyChanging("Message");
_Message = StructuralObject.SetValidValue(value, false);
ReportPropertyChanged("Message");
OnMessageChanged();
}
}
private global::System.String _Message;
partial void OnMessageChanging(global::System.String value);
partial void OnMessageChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="Mail")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class Mail : EntityObject
{
#region Factory Method
///
/// Create a new Mail object.
///
/// Initial value of the MailId property.
/// Initial value of the CreatedOn property.
/// Initial value of the ModifiedOn property.
public static Mail CreateMail(global::System.Guid mailId, global::System.DateTime createdOn, global::System.DateTime modifiedOn)
{
Mail mail = new Mail();
mail.MailId = mailId;
mail.CreatedOn = createdOn;
mail.ModifiedOn = modifiedOn;
return mail;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid MailId
{
get
{
return _MailId;
}
set
{
if (_MailId != value)
{
OnMailIdChanging(value);
ReportPropertyChanging("MailId");
_MailId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("MailId");
OnMailIdChanged();
}
}
}
private global::System.Guid _MailId;
partial void OnMailIdChanging(global::System.Guid value);
partial void OnMailIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private global::System.DateTime _CreatedOn;
partial void OnCreatedOnChanging(global::System.DateTime value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime ModifiedOn
{
get
{
return _ModifiedOn;
}
set
{
OnModifiedOnChanging(value);
ReportPropertyChanging("ModifiedOn");
_ModifiedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("ModifiedOn");
OnModifiedOnChanged();
}
}
private global::System.DateTime _ModifiedOn;
partial void OnModifiedOnChanging(global::System.DateTime value);
partial void OnModifiedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String MessageId
{
get
{
return _MessageId;
}
set
{
OnMessageIdChanging(value);
ReportPropertyChanging("MessageId");
_MessageId = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("MessageId");
OnMessageIdChanged();
}
}
private global::System.String _MessageId;
partial void OnMessageIdChanging(global::System.String value);
partial void OnMessageIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String From
{
get
{
return _From;
}
set
{
OnFromChanging(value);
ReportPropertyChanging("From");
_From = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("From");
OnFromChanged();
}
}
private global::System.String _From;
partial void OnFromChanging(global::System.String value);
partial void OnFromChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String To
{
get
{
return _To;
}
set
{
OnToChanging(value);
ReportPropertyChanging("To");
_To = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("To");
OnToChanged();
}
}
private global::System.String _To;
partial void OnToChanging(global::System.String value);
partial void OnToChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Subject
{
get
{
return _Subject;
}
set
{
OnSubjectChanging(value);
ReportPropertyChanging("Subject");
_Subject = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Subject");
OnSubjectChanged();
}
}
private global::System.String _Subject;
partial void OnSubjectChanging(global::System.String value);
partial void OnSubjectChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Body
{
get
{
return _Body;
}
set
{
OnBodyChanging(value);
ReportPropertyChanging("Body");
_Body = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Body");
OnBodyChanged();
}
}
private global::System.String _Body;
partial void OnBodyChanging(global::System.String value);
partial void OnBodyChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable Date
{
get
{
return _Date;
}
set
{
OnDateChanging(value);
ReportPropertyChanging("Date");
_Date = StructuralObject.SetValidValue(value);
ReportPropertyChanged("Date");
OnDateChanged();
}
}
private Nullable _Date;
partial void OnDateChanging(Nullable value);
partial void OnDateChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable StatusCode
{
get
{
return _StatusCode;
}
set
{
OnStatusCodeChanging(value);
ReportPropertyChanging("StatusCode");
_StatusCode = StructuralObject.SetValidValue(value);
ReportPropertyChanged("StatusCode");
OnStatusCodeChanged();
}
}
private Nullable _StatusCode;
partial void OnStatusCodeChanging(Nullable value);
partial void OnStatusCodeChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable MailNumber
{
get
{
return _MailNumber;
}
set
{
OnMailNumberChanging(value);
ReportPropertyChanging("MailNumber");
_MailNumber = StructuralObject.SetValidValue(value);
ReportPropertyChanged("MailNumber");
OnMailNumberChanged();
}
}
private Nullable _MailNumber;
partial void OnMailNumberChanging(Nullable value);
partial void OnMailNumberChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable MailBoxId
{
get
{
return _MailBoxId;
}
set
{
OnMailBoxIdChanging(value);
ReportPropertyChanging("MailBoxId");
_MailBoxId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("MailBoxId");
OnMailBoxIdChanged();
}
}
private Nullable _MailBoxId;
partial void OnMailBoxIdChanging(Nullable value);
partial void OnMailBoxIdChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="MailBox")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class MailBox : EntityObject
{
#region Factory Method
///
/// Create a new MailBox object.
///
/// Initial value of the MailBoxId property.
/// Initial value of the Name property.
public static MailBox CreateMailBox(global::System.Guid mailBoxId, global::System.String name)
{
MailBox mailBox = new MailBox();
mailBox.MailBoxId = mailBoxId;
mailBox.Name = name;
return mailBox;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid MailBoxId
{
get
{
return _MailBoxId;
}
set
{
if (_MailBoxId != value)
{
OnMailBoxIdChanging(value);
ReportPropertyChanging("MailBoxId");
_MailBoxId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("MailBoxId");
OnMailBoxIdChanged();
}
}
}
private global::System.Guid _MailBoxId;
partial void OnMailBoxIdChanging(global::System.Guid value);
partial void OnMailBoxIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.String Name
{
get
{
return _Name;
}
set
{
OnNameChanging(value);
ReportPropertyChanging("Name");
_Name = StructuralObject.SetValidValue(value, false);
ReportPropertyChanged("Name");
OnNameChanged();
}
}
private global::System.String _Name;
partial void OnNameChanging(global::System.String value);
partial void OnNameChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Host
{
get
{
return _Host;
}
set
{
OnHostChanging(value);
ReportPropertyChanging("Host");
_Host = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Host");
OnHostChanged();
}
}
private global::System.String _Host;
partial void OnHostChanging(global::System.String value);
partial void OnHostChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable Port
{
get
{
return _Port;
}
set
{
OnPortChanging(value);
ReportPropertyChanging("Port");
_Port = StructuralObject.SetValidValue(value);
ReportPropertyChanged("Port");
OnPortChanged();
}
}
private Nullable _Port;
partial void OnPortChanging(Nullable value);
partial void OnPortChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Username
{
get
{
return _Username;
}
set
{
OnUsernameChanging(value);
ReportPropertyChanging("Username");
_Username = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Username");
OnUsernameChanged();
}
}
private global::System.String _Username;
partial void OnUsernameChanging(global::System.String value);
partial void OnUsernameChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Password
{
get
{
return _Password;
}
set
{
OnPasswordChanging(value);
ReportPropertyChanging("Password");
_Password = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Password");
OnPasswordChanged();
}
}
private global::System.String _Password;
partial void OnPasswordChanging(global::System.String value);
partial void OnPasswordChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Email
{
get
{
return _Email;
}
set
{
OnEmailChanging(value);
ReportPropertyChanging("Email");
_Email = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Email");
OnEmailChanged();
}
}
private global::System.String _Email;
partial void OnEmailChanging(global::System.String value);
partial void OnEmailChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String AllowedHost
{
get
{
return _AllowedHost;
}
set
{
OnAllowedHostChanging(value);
ReportPropertyChanging("AllowedHost");
_AllowedHost = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("AllowedHost");
OnAllowedHostChanged();
}
}
private global::System.String _AllowedHost;
partial void OnAllowedHostChanging(global::System.String value);
partial void OnAllowedHostChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="PTCSource")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class PTCSource : EntityObject
{
#region Factory Method
///
/// Create a new PTCSource object.
///
/// Initial value of the PTCSourceId property.
/// Initial value of the Name property.
/// Initial value of the CreatedOn property.
/// Initial value of the BaseUrl property.
public static PTCSource CreatePTCSource(global::System.Guid pTCSourceId, global::System.String name, global::System.DateTime createdOn, global::System.String baseUrl)
{
PTCSource pTCSource = new PTCSource();
pTCSource.PTCSourceId = pTCSourceId;
pTCSource.Name = name;
pTCSource.CreatedOn = createdOn;
pTCSource.BaseUrl = baseUrl;
return pTCSource;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid PTCSourceId
{
get
{
return _PTCSourceId;
}
set
{
if (_PTCSourceId != value)
{
OnPTCSourceIdChanging(value);
ReportPropertyChanging("PTCSourceId");
_PTCSourceId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("PTCSourceId");
OnPTCSourceIdChanged();
}
}
}
private global::System.Guid _PTCSourceId;
partial void OnPTCSourceIdChanging(global::System.Guid value);
partial void OnPTCSourceIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.String Name
{
get
{
return _Name;
}
set
{
OnNameChanging(value);
ReportPropertyChanging("Name");
_Name = StructuralObject.SetValidValue(value, false);
ReportPropertyChanged("Name");
OnNameChanged();
}
}
private global::System.String _Name;
partial void OnNameChanging(global::System.String value);
partial void OnNameChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private global::System.DateTime _CreatedOn;
partial void OnCreatedOnChanging(global::System.DateTime value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.String BaseUrl
{
get
{
return _BaseUrl;
}
set
{
OnBaseUrlChanging(value);
ReportPropertyChanging("BaseUrl");
_BaseUrl = StructuralObject.SetValidValue(value, false);
ReportPropertyChanged("BaseUrl");
OnBaseUrlChanged();
}
}
private global::System.String _BaseUrl;
partial void OnBaseUrlChanging(global::System.String value);
partial void OnBaseUrlChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String PTCUrl
{
get
{
return _PTCUrl;
}
set
{
OnPTCUrlChanging(value);
ReportPropertyChanging("PTCUrl");
_PTCUrl = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("PTCUrl");
OnPTCUrlChanged();
}
}
private global::System.String _PTCUrl;
partial void OnPTCUrlChanging(global::System.String value);
partial void OnPTCUrlChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Username
{
get
{
return _Username;
}
set
{
OnUsernameChanging(value);
ReportPropertyChanging("Username");
_Username = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Username");
OnUsernameChanged();
}
}
private global::System.String _Username;
partial void OnUsernameChanging(global::System.String value);
partial void OnUsernameChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Password
{
get
{
return _Password;
}
set
{
OnPasswordChanging(value);
ReportPropertyChanging("Password");
_Password = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Password");
OnPasswordChanged();
}
}
private global::System.String _Password;
partial void OnPasswordChanging(global::System.String value);
partial void OnPasswordChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String LogOutUrl
{
get
{
return _LogOutUrl;
}
set
{
OnLogOutUrlChanging(value);
ReportPropertyChanging("LogOutUrl");
_LogOutUrl = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("LogOutUrl");
OnLogOutUrlChanged();
}
}
private global::System.String _LogOutUrl;
partial void OnLogOutUrlChanging(global::System.String value);
partial void OnLogOutUrlChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String BalanceUrl
{
get
{
return _BalanceUrl;
}
set
{
OnBalanceUrlChanging(value);
ReportPropertyChanging("BalanceUrl");
_BalanceUrl = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("BalanceUrl");
OnBalanceUrlChanged();
}
}
private global::System.String _BalanceUrl;
partial void OnBalanceUrlChanging(global::System.String value);
partial void OnBalanceUrlChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String LogInUrl
{
get
{
return _LogInUrl;
}
set
{
OnLogInUrlChanging(value);
ReportPropertyChanging("LogInUrl");
_LogInUrl = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("LogInUrl");
OnLogInUrlChanged();
}
}
private global::System.String _LogInUrl;
partial void OnLogInUrlChanging(global::System.String value);
partial void OnLogInUrlChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Mail
{
get
{
return _Mail;
}
set
{
OnMailChanging(value);
ReportPropertyChanging("Mail");
_Mail = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Mail");
OnMailChanged();
}
}
private global::System.String _Mail;
partial void OnMailChanging(global::System.String value);
partial void OnMailChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable Payout
{
get
{
return _Payout;
}
set
{
OnPayoutChanging(value);
ReportPropertyChanging("Payout");
_Payout = StructuralObject.SetValidValue(value);
ReportPropertyChanged("Payout");
OnPayoutChanged();
}
}
private Nullable _Payout;
partial void OnPayoutChanging(Nullable value);
partial void OnPayoutChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Group
{
get
{
return _Group;
}
set
{
OnGroupChanging(value);
ReportPropertyChanging("Group");
_Group = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Group");
OnGroupChanged();
}
}
private global::System.String _Group;
partial void OnGroupChanging(global::System.String value);
partial void OnGroupChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String ReferralLink
{
get
{
return _ReferralLink;
}
set
{
OnReferralLinkChanging(value);
ReportPropertyChanging("ReferralLink");
_ReferralLink = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("ReferralLink");
OnReferralLinkChanged();
}
}
private global::System.String _ReferralLink;
partial void OnReferralLinkChanging(global::System.String value);
partial void OnReferralLinkChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Banner
{
get
{
return _Banner;
}
set
{
OnBannerChanging(value);
ReportPropertyChanging("Banner");
_Banner = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Banner");
OnBannerChanged();
}
}
private global::System.String _Banner;
partial void OnBannerChanging(global::System.String value);
partial void OnBannerChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Software
{
get
{
return _Software;
}
set
{
OnSoftwareChanging(value);
ReportPropertyChanging("Software");
_Software = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Software");
OnSoftwareChanged();
}
}
private global::System.String _Software;
partial void OnSoftwareChanging(global::System.String value);
partial void OnSoftwareChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable Enabled
{
get
{
return _Enabled;
}
set
{
OnEnabledChanging(value);
ReportPropertyChanging("Enabled");
_Enabled = StructuralObject.SetValidValue(value);
ReportPropertyChanged("Enabled");
OnEnabledChanged();
}
}
private Nullable _Enabled;
partial void OnEnabledChanging(Nullable value);
partial void OnEnabledChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String AllowedHost
{
get
{
return _AllowedHost;
}
set
{
OnAllowedHostChanging(value);
ReportPropertyChanging("AllowedHost");
_AllowedHost = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("AllowedHost");
OnAllowedHostChanged();
}
}
private global::System.String _AllowedHost;
partial void OnAllowedHostChanging(global::System.String value);
partial void OnAllowedHostChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="ScheduledCommand")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class ScheduledCommand : EntityObject
{
#region Factory Method
///
/// Create a new ScheduledCommand object.
///
/// Initial value of the ScheduledCommandId property.
/// Initial value of the CreatedOn property.
/// Initial value of the ModifiedOn property.
public static ScheduledCommand CreateScheduledCommand(global::System.Guid scheduledCommandId, global::System.DateTime createdOn, global::System.DateTime modifiedOn)
{
ScheduledCommand scheduledCommand = new ScheduledCommand();
scheduledCommand.ScheduledCommandId = scheduledCommandId;
scheduledCommand.CreatedOn = createdOn;
scheduledCommand.ModifiedOn = modifiedOn;
return scheduledCommand;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid ScheduledCommandId
{
get
{
return _ScheduledCommandId;
}
set
{
if (_ScheduledCommandId != value)
{
OnScheduledCommandIdChanging(value);
ReportPropertyChanging("ScheduledCommandId");
_ScheduledCommandId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("ScheduledCommandId");
OnScheduledCommandIdChanged();
}
}
}
private global::System.Guid _ScheduledCommandId;
partial void OnScheduledCommandIdChanging(global::System.Guid value);
partial void OnScheduledCommandIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private global::System.DateTime _CreatedOn;
partial void OnCreatedOnChanging(global::System.DateTime value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime ModifiedOn
{
get
{
return _ModifiedOn;
}
set
{
OnModifiedOnChanging(value);
ReportPropertyChanging("ModifiedOn");
_ModifiedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("ModifiedOn");
OnModifiedOnChanged();
}
}
private global::System.DateTime _ModifiedOn;
partial void OnModifiedOnChanging(global::System.DateTime value);
partial void OnModifiedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable FirstExecuted
{
get
{
return _FirstExecuted;
}
set
{
OnFirstExecutedChanging(value);
ReportPropertyChanging("FirstExecuted");
_FirstExecuted = StructuralObject.SetValidValue(value);
ReportPropertyChanged("FirstExecuted");
OnFirstExecutedChanged();
}
}
private Nullable _FirstExecuted;
partial void OnFirstExecutedChanging(Nullable value);
partial void OnFirstExecutedChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable LastExecuted
{
get
{
return _LastExecuted;
}
set
{
OnLastExecutedChanging(value);
ReportPropertyChanging("LastExecuted");
_LastExecuted = StructuralObject.SetValidValue(value);
ReportPropertyChanged("LastExecuted");
OnLastExecutedChanged();
}
}
private Nullable _LastExecuted;
partial void OnLastExecutedChanging(Nullable value);
partial void OnLastExecutedChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable NextExecution
{
get
{
return _NextExecution;
}
set
{
OnNextExecutionChanging(value);
ReportPropertyChanging("NextExecution");
_NextExecution = StructuralObject.SetValidValue(value);
ReportPropertyChanged("NextExecution");
OnNextExecutionChanged();
}
}
private Nullable _NextExecution;
partial void OnNextExecutionChanging(Nullable value);
partial void OnNextExecutionChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String CommandName
{
get
{
return _CommandName;
}
set
{
OnCommandNameChanging(value);
ReportPropertyChanging("CommandName");
_CommandName = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("CommandName");
OnCommandNameChanged();
}
}
private global::System.String _CommandName;
partial void OnCommandNameChanging(global::System.String value);
partial void OnCommandNameChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String CommandParameters
{
get
{
return _CommandParameters;
}
set
{
OnCommandParametersChanging(value);
ReportPropertyChanging("CommandParameters");
_CommandParameters = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("CommandParameters");
OnCommandParametersChanged();
}
}
private global::System.String _CommandParameters;
partial void OnCommandParametersChanging(global::System.String value);
partial void OnCommandParametersChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable RecurrenceCode
{
get
{
return _RecurrenceCode;
}
set
{
OnRecurrenceCodeChanging(value);
ReportPropertyChanging("RecurrenceCode");
_RecurrenceCode = StructuralObject.SetValidValue(value);
ReportPropertyChanged("RecurrenceCode");
OnRecurrenceCodeChanged();
}
}
private Nullable _RecurrenceCode;
partial void OnRecurrenceCodeChanging(Nullable value);
partial void OnRecurrenceCodeChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable StatusCode
{
get
{
return _StatusCode;
}
set
{
OnStatusCodeChanging(value);
ReportPropertyChanging("StatusCode");
_StatusCode = StructuralObject.SetValidValue(value);
ReportPropertyChanged("StatusCode");
OnStatusCodeChanged();
}
}
private Nullable _StatusCode;
partial void OnStatusCodeChanging(Nullable value);
partial void OnStatusCodeChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable StartAtHH
{
get
{
return _StartAtHH;
}
set
{
OnStartAtHHChanging(value);
ReportPropertyChanging("StartAtHH");
_StartAtHH = StructuralObject.SetValidValue(value);
ReportPropertyChanged("StartAtHH");
OnStartAtHHChanged();
}
}
private Nullable _StartAtHH;
partial void OnStartAtHHChanging(Nullable value);
partial void OnStartAtHHChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable StartAtMM
{
get
{
return _StartAtMM;
}
set
{
OnStartAtMMChanging(value);
ReportPropertyChanging("StartAtMM");
_StartAtMM = StructuralObject.SetValidValue(value);
ReportPropertyChanged("StartAtMM");
OnStartAtMMChanged();
}
}
private Nullable _StartAtMM;
partial void OnStartAtMMChanging(Nullable value);
partial void OnStartAtMMChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable RecurEvery
{
get
{
return _RecurEvery;
}
set
{
OnRecurEveryChanging(value);
ReportPropertyChanging("RecurEvery");
_RecurEvery = StructuralObject.SetValidValue(value);
ReportPropertyChanged("RecurEvery");
OnRecurEveryChanged();
}
}
private Nullable _RecurEvery;
partial void OnRecurEveryChanging(Nullable value);
partial void OnRecurEveryChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String AllowedHost
{
get
{
return _AllowedHost;
}
set
{
OnAllowedHostChanging(value);
ReportPropertyChanging("AllowedHost");
_AllowedHost = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("AllowedHost");
OnAllowedHostChanged();
}
}
private global::System.String _AllowedHost;
partial void OnAllowedHostChanging(global::System.String value);
partial void OnAllowedHostChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="SourceInfo")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class SourceInfo : EntityObject
{
#region Factory Method
///
/// Create a new SourceInfo object.
///
/// Initial value of the SourceInfoId property.
public static SourceInfo CreateSourceInfo(global::System.Guid sourceInfoId)
{
SourceInfo sourceInfo = new SourceInfo();
sourceInfo.SourceInfoId = sourceInfoId;
return sourceInfo;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid SourceInfoId
{
get
{
return _SourceInfoId;
}
set
{
if (_SourceInfoId != value)
{
OnSourceInfoIdChanging(value);
ReportPropertyChanging("SourceInfoId");
_SourceInfoId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("SourceInfoId");
OnSourceInfoIdChanged();
}
}
}
private global::System.Guid _SourceInfoId;
partial void OnSourceInfoIdChanging(global::System.Guid value);
partial void OnSourceInfoIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public Nullable CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private Nullable _CreatedOn;
partial void OnCreatedOnChanging(Nullable value);
partial void OnCreatedOnChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="StatusLog")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class StatusLog : EntityObject
{
#region Factory Method
///
/// Create a new StatusLog object.
///
/// Initial value of the StatusLogId property.
/// Initial value of the CreatedOn property.
/// Initial value of the ModifiedOn property.
/// Initial value of the Date property.
/// Initial value of the StatusCode property.
public static StatusLog CreateStatusLog(global::System.Guid statusLogId, global::System.DateTime createdOn, global::System.DateTime modifiedOn, global::System.DateTime date, global::System.Int32 statusCode)
{
StatusLog statusLog = new StatusLog();
statusLog.StatusLogId = statusLogId;
statusLog.CreatedOn = createdOn;
statusLog.ModifiedOn = modifiedOn;
statusLog.Date = date;
statusLog.StatusCode = statusCode;
return statusLog;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid StatusLogId
{
get
{
return _StatusLogId;
}
set
{
if (_StatusLogId != value)
{
OnStatusLogIdChanging(value);
ReportPropertyChanging("StatusLogId");
_StatusLogId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("StatusLogId");
OnStatusLogIdChanged();
}
}
}
private global::System.Guid _StatusLogId;
partial void OnStatusLogIdChanging(global::System.Guid value);
partial void OnStatusLogIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private global::System.DateTime _CreatedOn;
partial void OnCreatedOnChanging(global::System.DateTime value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime ModifiedOn
{
get
{
return _ModifiedOn;
}
set
{
OnModifiedOnChanging(value);
ReportPropertyChanging("ModifiedOn");
_ModifiedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("ModifiedOn");
OnModifiedOnChanged();
}
}
private global::System.DateTime _ModifiedOn;
partial void OnModifiedOnChanging(global::System.DateTime value);
partial void OnModifiedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime Date
{
get
{
return _Date;
}
set
{
OnDateChanging(value);
ReportPropertyChanging("Date");
_Date = StructuralObject.SetValidValue(value);
ReportPropertyChanged("Date");
OnDateChanged();
}
}
private global::System.DateTime _Date;
partial void OnDateChanging(global::System.DateTime value);
partial void OnDateChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Key
{
get
{
return _Key;
}
set
{
OnKeyChanging(value);
ReportPropertyChanging("Key");
_Key = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Key");
OnKeyChanged();
}
}
private global::System.String _Key;
partial void OnKeyChanging(global::System.String value);
partial void OnKeyChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Int32 StatusCode
{
get
{
return _StatusCode;
}
set
{
OnStatusCodeChanging(value);
ReportPropertyChanging("StatusCode");
_StatusCode = StructuralObject.SetValidValue(value);
ReportPropertyChanged("StatusCode");
OnStatusCodeChanged();
}
}
private global::System.Int32 _StatusCode;
partial void OnStatusCodeChanging(global::System.Int32 value);
partial void OnStatusCodeChanged();
#endregion
}
///
/// No Metadata Documentation available.
///
[EdmEntityTypeAttribute(NamespaceName="databaseModel", Name="Variable")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class Variable : EntityObject
{
#region Factory Method
///
/// Create a new Variable object.
///
/// Initial value of the VariableId property.
/// Initial value of the CreatedOn property.
/// Initial value of the ModifiedOn property.
public static Variable CreateVariable(global::System.Guid variableId, global::System.DateTime createdOn, global::System.DateTime modifiedOn)
{
Variable variable = new Variable();
variable.VariableId = variableId;
variable.CreatedOn = createdOn;
variable.ModifiedOn = modifiedOn;
return variable;
}
#endregion
#region Primitive Properties
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Guid VariableId
{
get
{
return _VariableId;
}
set
{
if (_VariableId != value)
{
OnVariableIdChanging(value);
ReportPropertyChanging("VariableId");
_VariableId = StructuralObject.SetValidValue(value);
ReportPropertyChanged("VariableId");
OnVariableIdChanged();
}
}
}
private global::System.Guid _VariableId;
partial void OnVariableIdChanging(global::System.Guid value);
partial void OnVariableIdChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime CreatedOn
{
get
{
return _CreatedOn;
}
set
{
OnCreatedOnChanging(value);
ReportPropertyChanging("CreatedOn");
_CreatedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("CreatedOn");
OnCreatedOnChanged();
}
}
private global::System.DateTime _CreatedOn;
partial void OnCreatedOnChanging(global::System.DateTime value);
partial void OnCreatedOnChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Name
{
get
{
return _Name;
}
set
{
OnNameChanging(value);
ReportPropertyChanging("Name");
_Name = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Name");
OnNameChanged();
}
}
private global::System.String _Name;
partial void OnNameChanging(global::System.String value);
partial void OnNameChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
[DataMemberAttribute()]
public global::System.String Value
{
get
{
return _Value;
}
set
{
OnValueChanging(value);
ReportPropertyChanging("Value");
_Value = StructuralObject.SetValidValue(value, true);
ReportPropertyChanged("Value");
OnValueChanged();
}
}
private global::System.String _Value;
partial void OnValueChanging(global::System.String value);
partial void OnValueChanged();
///
/// No Metadata Documentation available.
///
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.DateTime ModifiedOn
{
get
{
return _ModifiedOn;
}
set
{
OnModifiedOnChanging(value);
ReportPropertyChanging("ModifiedOn");
_ModifiedOn = StructuralObject.SetValidValue(value);
ReportPropertyChanged("ModifiedOn");
OnModifiedOnChanged();
}
}
private global::System.DateTime _ModifiedOn;
partial void OnModifiedOnChanging(global::System.DateTime value);
partial void OnModifiedOnChanged();
#endregion
}
#endregion
}