Sage.Integration.Northwind.Adapter.Data.EmailWrapper.IEntityQueryWrapper C# (CSharp) Méthode

IEntityQueryWrapper() private méthode

private IEntityQueryWrapper ( string propertyName ) : string
propertyName string
Résultat string
        string IEntityQueryWrapper.GetDbFieldName(string propertyName)
        {
            if (propertyName.Equals("applicationID", StringComparison.InvariantCultureIgnoreCase))
                return "id";
            if (propertyName.Equals("address", StringComparison.InvariantCultureIgnoreCase))
                return "Email";

            throw new InvalidOperationException(string.Format("Property {0} not supported.", propertyName));
        }