8,707
社区成员




[global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="MessageModel", Name="SuperEmployee")]
[global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
[global::System.Serializable()]
public partial class SuperEmployee : global::System.Data.Objects.DataClasses.EntityObject
{
/// <summary>
/// 创建新的 SuperEmployee 对象。
/// </summary>
/// <param name="id">ID 的初始值。</param>
public static SuperEmployee CreateSuperEmployee(int id)
{
SuperEmployee superEmployee = new SuperEmployee();
superEmployee.ID = id;
return superEmployee;
}
/// <summary>
/// 架构中不存在属性 ID 的注释。
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public int ID
{
get
{
return this._ID;
}
set
{
this.OnIDChanging(value);
this.ReportPropertyChanging("ID");
this._ID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("ID");
this.OnIDChanged();
}
}
private int _ID;
partial void OnIDChanging(int value);
partial void OnIDChanged();
}
public class SuperEmployee{
[ReadOnly(true)]
[Key]
public int EmployeeID { get; set; }
}