Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [EdmEntityTypeAttribute(NamespaceName="TestModel", Name="ModuleInfo")]
- [Serializable()]
- [DataContractAttribute(IsReference=true)]
- public partial class ModuleInfo : EntityObject
- {
- #region Factory Method
- /// <summary>
- /// Create a new ModuleInfo object.
- /// </summary>
- /// <param name="id">Initial value of the ID property.</param>
- /// <param name="isMain">Initial value of the IsMain property.</param>
- public static ModuleInfo CreateModuleInfo(global::System.Int32 id, global::System.Boolean isMain)
- {
- ModuleInfo moduleInfo = new ModuleInfo();
- moduleInfo.ID = id;
- moduleInfo.IsMain = isMain;
- return moduleInfo;
- }
- #endregion
- #region Primitive Properties
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
- [DataMemberAttribute()]
- public global::System.Int32 ID
- {
- get
- {
- return _ID;
- }
- set
- {
- if (_ID != value)
- {
- OnIDChanging(value);
- ReportPropertyChanging("ID");
- _ID = StructuralObject.SetValidValue(value);
- ReportPropertyChanged("ID");
- OnIDChanged();
- }
- }
- }
- private global::System.Int32 _ID;
- partial void OnIDChanging(global::System.Int32 value);
- partial void OnIDChanged();
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- [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();
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
- [DataMemberAttribute()]
- public global::System.String Version
- {
- get
- {
- return _Version;
- }
- set
- {
- OnVersionChanging(value);
- ReportPropertyChanging("Version");
- _Version = StructuralObject.SetValidValue(value, true);
- ReportPropertyChanged("Version");
- OnVersionChanged();
- }
- }
- private global::System.String _Version;
- partial void OnVersionChanging(global::System.String value);
- partial void OnVersionChanged();
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
- [DataMemberAttribute()]
- public global::System.String AssemblyFileName
- {
- get
- {
- return _AssemblyFileName;
- }
- set
- {
- OnAssemblyFileNameChanging(value);
- ReportPropertyChanging("AssemblyFileName");
- _AssemblyFileName = StructuralObject.SetValidValue(value, true);
- ReportPropertyChanged("AssemblyFileName");
- OnAssemblyFileNameChanged();
- }
- }
- private global::System.String _AssemblyFileName;
- partial void OnAssemblyFileNameChanging(global::System.String value);
- partial void OnAssemblyFileNameChanged();
- /// <summary>
- /// No Metadata Documentation available.
- /// </summary>
- [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
- [DataMemberAttribute()]
- public global::System.Boolean IsMain
- {
- get
- {
- return _IsMain;
- }
- set
- {
- OnIsMainChanging(value);
- ReportPropertyChanging("IsMain");
- _IsMain = StructuralObject.SetValidValue(value);
- ReportPropertyChanged("IsMain");
- OnIsMainChanged();
- }
- }
- private global::System.Boolean _IsMain;
- partial void OnIsMainChanging(global::System.Boolean value);
- partial void OnIsMainChanged();
- #endregion
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement