public bool Equals(Oppilas Other) { if (Other == null) { return(false); } return(this.OppilasId.Equals(Other.OppilasId)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } Oppilas objOppilas = obj as Oppilas; if (objOppilas == null) { return(false); } else { return(Equals(objOppilas)); } }