private ODataResource CreateEntry(OeEntryFactory entryFactory, Object entity) { ODataResource entry = entryFactory.CreateEntry(entity); if (QueryContext.MetadataLevel == OeMetadataLevel.Full) { entry.Id = OeUriHelper.ComputeId(QueryContext.ODataUri.ServiceRoot, entryFactory.EntitySet, entry); } return(entry); }
private ODataResource CreateEntry(OeEntryFactory entryFactory, Object entity) { ODataResource entry = entryFactory.CreateEntry(entity); if (MetadataLevel == OeMetadataLevel.Full) { entry.Id = OeUriHelper.ComputeId(BaseUri, entryFactory.EntitySet, entry); } return(entry); }