示例#1
0
 /// <summary>
 /// Create a new User object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static User CreateUser(global::System.Guid id)
 {
     User user = new User();
     user.ID = id;
     return user;
 }
示例#2
0
 private bool FilterUser1(User entity)
 {
     return (entity.ID == this.IKOnayKullaniciID);
 }
示例#3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the User EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUser(User user)
 {
     base.AddObject("User", user);
 }
示例#4
0
 private bool FilterUser(User entity)
 {
     return (entity.ID == this.IzinVerenKullaniciID);
 }
示例#5
0
 private bool FilterUser(User entity)
 {
     return (entity.EmployeeId == this.OID);
 }
示例#6
0
 private void DetachUser(User entity)
 {
     entity.Personel = null;
 }
示例#7
0
 private void AttachUser(User entity)
 {
     entity.Personel = this;
 }
示例#8
0
 private bool FilterUser(User entity)
 {
     return (entity.ID == this.UserId);
 }