/// <summary> /// Set current MBO attributes by specified MBO. /// </summary> public static YPF.Comercial.RRCC.SUP.OfflineAuthentication Merge(YPF.Comercial.RRCC.SUP.OfflineAuthentication entity) { YPF.Comercial.RRCC.SUP.OfflineAuthentication ent = Find(entity._pk()); if (ent == null) { ent = new YPF.Comercial.RRCC.SUP.OfflineAuthentication(); } ent.CopyAll(entity); ent.Save(); return(ent); }
/// <summary> /// override method /// </summary> public override bool Equals(object that) { YPF.Comercial.RRCC.SUP.OfflineAuthentication that_1 = that as YPF.Comercial.RRCC.SUP.OfflineAuthentication; if (that_1 == null) { return(false); } string id_2 = this._pk(); string id_3 = that_1._pk(); if ((id_2 == null) || (id_3 == null)) { return(false); } return(id_2.Equals(id_3)); }