Exemple #1
0
 private void SetProperties(string name, double area, string address, DirectionKinds direction, long ownerId)
 {
     Name      = name;
     Area      = area;
     Address   = address;
     Direction = direction;
     OwnerId   = ownerId;
 }
Exemple #2
0
 public void Update(string name, double area, string address, DirectionKinds direction, long ownerId)
 {
     SetProperties(name, area, address, direction, ownerId);
 }
Exemple #3
0
 public Estate(long id, string name, double area, string address, DirectionKinds direction, long ownerId)
 {
     Id = id;
     SetProperties(name, area, address, direction, ownerId);
 }