Sage.Integration.Northwind.Adapter.Data.ContactWrapper.IEntityQueryWrapper C# (CSharp) Method

IEntityQueryWrapper() private method

private IEntityQueryWrapper ( string propertyName ) : string
propertyName string
return string
        string IEntityQueryWrapper.GetDbFieldName(string propertyName)
        {
            if (propertyName.Equals("applicationID", StringComparison.InvariantCultureIgnoreCase))
                return "id";
            if (propertyName.Equals("fullname", StringComparison.InvariantCultureIgnoreCase))
                return "ContactName";

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