Use the Model option in the OData Server configuration file to create an OData Producer service model.
service [namespace "namespace-name"] { "owner"."{table-name | view-name}" [ keys("column-name", ...) ] ... }
service namespace "DBServer" { "dba"."TableWithPrimaryKey"; "dba"."ViewWithoutPrimaryKey" keys("primary_key1", "primary_key2"); }