public static bool Equals(ShoppingCartCriteria?left, ShoppingCartCriteria?right) { bool result = ShoppingCartId.Equals(left?.ShoppingCartId, right?.ShoppingCartId); result &= (result ? SalesPointId.Equals(left?.SalesPointId, right?.SalesPointId) : false); result &= (result ? ViewPointId.Equals(left?.ViewPointId, right?.ViewPointId) : false); result &= (result ? SalesPersonId.Equals(left?.SalesPersonId, right?.SalesPersonId) : false); result &= (result ? CustomerId.Equals(left?.CustomerId, right?.CustomerId) : false); return(result); }
public ViewPointId ConvertTo(String value) { return(ViewPointId.Parse(value)); }
public ViewPointId?ConvertNullableTo(String?value) { ViewPointId.TryParse(value, out ViewPointId? result); return(result); }
public String ConvertFrom(ViewPointId value) { return(value.ToString()); }