odatatools
odatatools copied to clipboard
Error creating proxy
Hi,
I tried to generate typescript interfaces from an url, but it failed:
[INFO ] v200commands: Getting Metadata from 'http://api-xp4.obb.tuev-daily.de/OData/$metadata' [ERROR] Creating proxy returned following error: [ERROR] TypeError: Cannot read property 'find' of undefined [INFO ] v200commands: Updating current file. [INFO ] v200commands: Successfully pasted data. Formatting Document. [INFO ] v200commands: Finished
The error seems to be with the Action:
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> <edmx:DataServices> <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Common"> <ComplexType Name="Address"> <Property Name="Street" Type="Edm.String"/> <Property Name="No" Type="Edm.String"/> <Property Name="City" Type="Edm.String"/> <Property Name="Zip" Type="Edm.String"/> <Property Name="Country" Type="Edm.String"/> <Property Name="Region" Type="Edm.String"/> </ComplexType> <ComplexType Name="AddressGeoCoded" BaseType="Common.Address"> <Property Name="Location" Type="Common.Location"/> </ComplexType> <ComplexType Name="Location"> <Property Name="Longitude" Type="Edm.Double" Nullable="false"/> <Property Name="Latitude" Type="Edm.Double" Nullable="false"/> </ComplexType> </Schema> <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Library"> <EntityType Name="Country"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Building" Type="Collection(PropertyCore.Building)"/> <NavigationProperty Name="Region" Type="Collection(Library.Region)"/> <NavigationProperty Name="AccountDataProcessingAgreement" Type="Collection(Operations.AccountDataProcessingAgreement)"/> </EntityType> <EntityType Name="Region"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Building" Type="Collection(PropertyCore.Building)"/> <NavigationProperty Name="Country" Type="Library.Country"/> </EntityType> </Schema> <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Operations"> <EntityType Name="User"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Title" Type="Edm.String"/> <Property Name="Position" Type="Edm.String"/> <Property Name="FirstName" Type="Edm.String"/> <Property Name="LastName" Type="Edm.String"/> <Property Name="PhoneBusiness" Type="Edm.String"/> <Property Name="PhoneMobile" Type="Edm.String"/> <Property Name="Email" Type="Edm.String"/> <Property Name="MailingAddress" Type="Edm.String"/> <Property Name="Comment" Type="Edm.String"/> <Property Name="LoginSource" Type="Edm.Int32" Nullable="false"/> <Property Name="TuevEmployee" Type="Edm.Boolean" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Account" Type="Collection(Operations.Account)"/> <NavigationProperty Name="ServiceProvider" Type="Collection(PropertyCore.ServiceProvider)"/> <NavigationProperty Name="Document" Type="Collection(PropertyCore.Document)"/> <NavigationProperty Name="Image" Type="Collection(PropertyCore.Image)"/> <NavigationProperty Name="OperatorTask" Type="Collection(PropertyCore.OperatorTask)"/> <NavigationProperty Name="QRCode" Type="Collection(PropertyCore.QRCode)"/> <NavigationProperty Name="QRCodeAssign" Type="Collection(PropertyCore.QRCodeAssign)"/> </EntityType> <EntityType Name="Account"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.Guid" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="AccountType" Type="Operations.AccountTypes" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="AccountProfile" Type="Operations.AccountProfile"/> <NavigationProperty Name="AccountDataProcessingAgreement" Type="Operations.AccountDataProcessingAgreement"/> <NavigationProperty Name="ActionLog" Type="PropertyCore.ActionLog"/> <NavigationProperty Name="Building" Type="Collection(PropertyCore.Building)"/> <NavigationProperty Name="MaintenanceContract" Type="Collection(PropertyCore.MaintenanceContract)"/> <NavigationProperty Name="ServiceProvider" Type="Collection(PropertyCore.ServiceProvider)"/> <NavigationProperty Name="User" Type="Operations.User"/> </EntityType> <EntityType Name="AccountProfile"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.Guid" Nullable="false"/> <Property Name="Contact" Type="Edm.String"/> <Property Name="ContactPhone" Type="Edm.String"/> <Property Name="ContactMail" Type="Edm.String"/> <Property Name="ContactName" Type="Edm.String"/> <Property Name="PartnerNo" Type="Edm.String"/> <Property Name="VatCode" Type="Edm.String"/> <Property Name="AddressAddition" Type="Edm.String"/> <Property Name="Street" Type="Edm.String"/> <Property Name="HouseNo" Type="Edm.String"/> <Property Name="ZipCode" Type="Edm.String"/> <Property Name="City" Type="Edm.String"/> <Property Name="InvoiceName" Type="Edm.String"/> <Property Name="InvoicePartnerNo" Type="Edm.String"/> <Property Name="InvoiceCode" Type="Edm.String"/> <Property Name="InvoiceAddressAddition" Type="Edm.String"/> <Property Name="InvoiceStreet" Type="Edm.String"/> <Property Name="InvoiceHouseNo" Type="Edm.String"/> <Property Name="InvoiceZipCode" Type="Edm.String"/> <Property Name="InvoiceCity" Type="Edm.String"/> </EntityType> <EntityType Name="AccountDataProcessingAgreement"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.Guid" Nullable="false"/> <Property Name="TimeStamp" Type="Edm.DateTimeOffset" Nullable="false"/> <Property Name="LoginName" Type="Edm.String"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Street" Type="Edm.String"/> <Property Name="HouseNo" Type="Edm.String"/> <Property Name="AddressAddition" Type="Edm.String"/> <Property Name="ZipCode" Type="Edm.String"/> <Property Name="City" Type="Edm.String"/> </EntityType> <EnumType Name="AccountTypes"> <Member Name="Unknown" Value="0"/> <Member Name="FacilityManagement" Value="1"/> <Member Name="ServiceProvider" Value="2"/> </EnumType> </Schema> <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PropertyCore"> <EntityType Name="Building"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.Guid" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Address" Type="Common.Address"/> <Property Name="Location" Type="Common.Location"/> <Property Name="Size" Type="Edm.Int32" Nullable="false"/> <Property Name="YearOfConstruction" Type="Edm.Int32" Nullable="false"/> <Property Name="Assessment" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Equipment" Type="Collection(PropertyCore.Equipment)"/> <NavigationProperty Name="Account" Type="Operations.Account"/> <NavigationProperty Name="Image" Type="Collection(PropertyCore.Image)"/> </EntityType> <EntityType Name="Equipment"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Comment" Type="Edm.String"/> <Property Name="InstallNo" Type="Edm.Int32" Nullable="false"/> <Property Name="DinNo" Type="Edm.String"/> <Property Name="RoomBookNo" Type="Edm.String"/> <Property Name="ResidentialUnit" Type="Edm.String"/> <Property Name="CustomId" Type="Edm.String"/> <Property Name="TuevNo" Type="Edm.String"/> <NavigationProperty Name="EquipmentType" Type="PropertyCore.EquipmentType"/> <NavigationProperty Name="Module" Type="Collection(PropertyCore.Module)"/> <NavigationProperty Name="Building" Type="PropertyCore.Building"/> <NavigationProperty Name="Section" Type="PropertyCore.Section"/> <NavigationProperty Name="Image" Type="Collection(PropertyCore.Image)"/> <NavigationProperty Name="InspectionDuty" Type="Collection(PropertyCore.InspectionDuty)"/> <NavigationProperty Name="QRCodeAssign" Type="Collection(PropertyCore.QRCodeAssign)"/> </EntityType> <EntityType Name="EquipmentType"> <Key> <PropertyRef Name="Code"/> </Key> <Property Name="Code" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="SubNo" Type="Edm.Int32" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Equipment" Type="Collection(PropertyCore.Equipment)"/> <NavigationProperty Name="CostGroup" Type="PropertyCore.CostGroup"/> </EntityType> <EntityType Name="Module"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Quantity" Type="Edm.Int32" Nullable="false"/> <Property Name="DinNr" Type="Edm.String"/> <Property Name="RoomBookNo" Type="Edm.String"/> <Property Name="ResidentalUnit" Type="Edm.String"/> <Property Name="CustomId" Type="Edm.String"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Equipment" Type="PropertyCore.Equipment"/> <NavigationProperty Name="ModuleType" Type="PropertyCore.ModuleType"/> <NavigationProperty Name="Section" Type="PropertyCore.Section"/> <NavigationProperty Name="Image" Type="Collection(PropertyCore.Image)"/> <NavigationProperty Name="InspectionDuty" Type="Collection(PropertyCore.InspectionDuty)"/> </EntityType> <EntityType Name="ModuleType"> <Key> <PropertyRef Name="Code"/> </Key> <Property Name="Code" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Modules" Type="Collection(PropertyCore.Module)"/> </EntityType> <EntityType Name="Schedule"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Identity" Type="Edm.String"/> <Property Name="Name" Type="Edm.String"/> <NavigationProperty Name="Event" Type="Collection(PropertyCore.Event)"/> <NavigationProperty Name="InspectionDuty" Type="PropertyCore.InspectionDuty"/> </EntityType> <EntityType Name="Event"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Type" Type="PropertyCore.EventTypes" Nullable="false"/> <Property Name="Guidelines" Type="Edm.String"/> <Property Name="Qualification" Type="Edm.String"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Response" Type="PropertyCore.EventResponse"/> <NavigationProperty Name="Schedule" Type="PropertyCore.Schedule"/> <NavigationProperty Name="ServiceProvider" Type="PropertyCore.ServiceProvider"/> </EntityType> <EntityType Name="MaintenanceContract"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Title" Type="Edm.String"/> <Property Name="No" Type="Edm.String"/> <Property Name="CancellationPeriod" Type="Edm.Int32" Nullable="false"/> <Property Name="CostServiceHourNetAmount" Type="Edm.Int32" Nullable="false"/> <Property Name="CostApproachNetAmount" Type="Edm.Int32" Nullable="false"/> <Property Name="ApproachFeeType" Type="Edm.Int32" Nullable="false"/> <Property Name="CancellationDigit" Type="Edm.Int32" Nullable="false"/> <Property Name="CancellationUnit" Type="Edm.Int32" Nullable="false"/> <Property Name="CancellationCalendar" Type="Edm.Int32" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Account" Type="Operations.Account"/> <NavigationProperty Name="ServiceProvider" Type="PropertyCore.ServiceProvider"/> </EntityType> <EntityType Name="Room"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> </EntityType> <EntityType Name="Floor"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Order" Type="Edm.Int32" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> </EntityType> <EntityType Name="Section"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Equipment" Type="Collection(PropertyCore.Equipment)"/> <NavigationProperty Name="Module" Type="Collection(PropertyCore.Module)"/> </EntityType> <EntityType Name="UsageType"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> </EntityType> <EntityType Name="CostGroup"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Code" Type="Edm.String"/> <Property Name="Name" Type="Edm.String"/> <Property Name="No" Type="Edm.Int32" Nullable="false"/> <Property Name="Disabled" Type="Edm.Boolean" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="EquipmentType" Type="Collection(PropertyCore.EquipmentType)"/> </EntityType> <EntityType Name="ActionLog"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Anynomous" Type="Edm.Boolean" Nullable="false"/> <Property Name="Operation" Type="Edm.Byte" Nullable="false"/> <Property Name="Element" Type="Edm.Byte" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Account" Type="Operations.Account"/> </EntityType> <EntityType Name="ServiceProvider"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Code" Type="Edm.String"/> <Property Name="Name" Type="Edm.String"/> <Property Name="ContactPerson" Type="Edm.String"/> <Property Name="Department" Type="Edm.String"/> <Property Name="ContactPhone1" Type="Edm.String"/> <Property Name="ContactPhone2" Type="Edm.String"/> <Property Name="ContactEmailAdd" Type="Edm.String"/> <Property Name="ContractContactPerson" Type="Edm.String"/> <Property Name="ContractContactEmailAdd" Type="Edm.String"/> <Property Name="ContractContactPhone" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Event" Type="Collection(PropertyCore.Event)"/> <NavigationProperty Name="MaintenanceContract" Type="Collection(PropertyCore.MaintenanceContract)"/> <NavigationProperty Name="User" Type="Operations.User"/> <NavigationProperty Name="Account" Type="Operations.Account"/> </EntityType> <EntityType Name="Document"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Description" Type="Edm.String"/> <Property Name="FileName" Type="Edm.String"/> <Property Name="FileSize" Type="Edm.Int32" Nullable="false"/> <Property Name="FileType" Type="Edm.String"/> <Property Name="Duplicated" Type="Edm.Boolean" Nullable="false"/> <Property Name="Deleted" Type="Edm.Boolean" Nullable="false"/> <Property Name="Fresh" Type="Edm.Boolean" Nullable="false"/> <Property Name="Virtual" Type="Edm.Boolean" Nullable="false"/> <Property Name="NetAmount" Type="Edm.Int32" Nullable="false"/> <Property Name="GrossAmount" Type="Edm.Int32" Nullable="false"/> <Property Name="DownloadToken" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="User" Type="Operations.User"/> <NavigationProperty Name="DocumentType" Type="PropertyCore.DocumentType"/> </EntityType> <EntityType Name="DocumentType"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Html" Type="Edm.String"/> <Property Name="Mark" Type="Edm.String"/> <Property Name="Required" Type="Edm.Boolean" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="Document" Type="Collection(PropertyCore.Document)"/> <NavigationProperty Name="OperatorTask" Type="Collection(PropertyCore.OperatorTask)"/> </EntityType> <EntityType Name="DocumentTypeGroup"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="DocumentType" Type="Collection(PropertyCore.DocumentType)"/> </EntityType> <EntityType Name="Image"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Comment" Type="Edm.String"/> <Property Name="FileName" Type="Edm.String"/> <Property Name="FileSize" Type="Edm.Int32" Nullable="false"/> <Property Name="FileType" Type="Edm.String"/> <Property Name="DownloadToken" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="User" Type="Operations.User"/> <NavigationProperty Name="Module" Type="PropertyCore.Module"/> <NavigationProperty Name="Equipment" Type="PropertyCore.Equipment"/> <NavigationProperty Name="Building" Type="PropertyCore.Building"/> </EntityType> <EntityType Name="SubscriptionPlan"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.Guid" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Code" Type="Edm.String"/> <Property Name="Active" Type="Edm.Boolean" Nullable="false"/> <Property Name="LimitBuildings" Type="Edm.Int32" Nullable="false"/> <Property Name="PricePerYear" Type="Edm.Decimal" Nullable="false"/> </EntityType> <EntityType Name="LegalArea"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Description" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="OperatorTask" Type="Collection(PropertyCore.OperatorTask)"/> </EntityType> <EntityType Name="OperatorTask"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Guidelines" Type="Edm.String"/> <Property Name="Subject" Type="Edm.String"/> <Property Name="Deadline" Type="Edm.String"/> <Property Name="Qualification" Type="Edm.String"/> <Property Name="Type" Type="Edm.String"/> <Property Name="BuildingType" Type="Edm.String"/> <Property Name="Rating" Type="Edm.Int32" Nullable="false"/> <Property Name="Relevant" Type="Edm.Boolean" Nullable="false"/> <Property Name="TextPassage" Type="Edm.String"/> <Property Name="Fresh" Type="Edm.Boolean" Nullable="false"/> <Property Name="Cycle" Type="Edm.Int32" Nullable="false"/> <Property Name="CycleUnit" Type="Edm.Int32" Nullable="false"/> <Property Name="RequiredDocument" Type="Edm.Int32" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="InspectionDuty" Type="Collection(PropertyCore.InspectionDuty)"/> <NavigationProperty Name="User" Type="Operations.User"/> <NavigationProperty Name="DocumentType" Type="PropertyCore.DocumentType"/> <NavigationProperty Name="LegalArea" Type="PropertyCore.LegalArea"/> </EntityType> <EntityType Name="InspectionDuty"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.Guid" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Disabled" Type="Edm.Boolean" Nullable="false"/> <NavigationProperty Name="Schedule" Type="Collection(PropertyCore.Schedule)"/> <NavigationProperty Name="Module" Type="PropertyCore.Module"/> <NavigationProperty Name="OperatorTask" Type="PropertyCore.OperatorTask"/> <NavigationProperty Name="Equipment" Type="PropertyCore.Equipment"/> </EntityType> <EntityType Name="QRCode"> <Key> <PropertyRef Name="Identity"/> </Key> <Property Name="Identity" Type="Edm.String" Nullable="false"/> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="QRCodeAssign" Type="Collection(PropertyCore.QRCodeAssign)"/> <NavigationProperty Name="User" Type="Operations.User"/> </EntityType> <EntityType Name="QRCodeAssign"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="App" Type="Edm.Boolean" Nullable="false"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> <NavigationProperty Name="User" Type="Operations.User"/> <NavigationProperty Name="QRCode" Type="PropertyCore.QRCode"/> <NavigationProperty Name="Equipment" Type="PropertyCore.Equipment"/> </EntityType> <EntityType Name="EventResponse"> <Key> <PropertyRef Name="Id"/> </Key> <Property Name="Id" Type="Edm.Int32" Nullable="false"/> <Property Name="Comment" Type="Edm.String"/> <Property Name="Created" Type="Edm.DateTimeOffset" Nullable="false"/> </EntityType> <EnumType Name="EventTypes"> <Member Name="Inspection" Value="1"/> <Member Name="FollowUpInspection" Value="2"/> <Member Name="Maintenance" Value="3"/> <Member Name="Repair" Value="4"/> <Member Name="Custom" Value="5"/> </EnumType> </Schema> <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Tools"> <Action Name="GeoCode"> <Parameter Name="Address" Type="Common.AddressGeoCoded"/> <ReturnType Type="Common.AddressGeoCoded"/> </Action> </Schema> <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ObjektBrief"> <EntityContainer Name="Container"> <EntitySet Name="Country" EntityType="Library.Country"> <NavigationPropertyBinding Path="Building" Target="Building"/> <NavigationPropertyBinding Path="Region" Target="Region"/> <NavigationPropertyBinding Path="AccountDataProcessingAgreement" Target="AccountDataProcessingAgreement"/> </EntitySet> <EntitySet Name="Region" EntityType="Library.Region"> <NavigationPropertyBinding Path="Building" Target="Building"/> <NavigationPropertyBinding Path="Country" Target="Country"/> </EntitySet> <EntitySet Name="User" EntityType="Operations.User"> <NavigationPropertyBinding Path="Account" Target="Account"/> <NavigationPropertyBinding Path="ServiceProvider" Target="ServiceProvider"/> <NavigationPropertyBinding Path="Document" Target="Document"/> <NavigationPropertyBinding Path="Image" Target="Image"/> <NavigationPropertyBinding Path="OperatorTask" Target="OperatorTask"/> <NavigationPropertyBinding Path="QRCode" Target="QRCode"/> <NavigationPropertyBinding Path="QRCodeAssign" Target="QRCodeAssign"/> </EntitySet> <EntitySet Name="Account" EntityType="Operations.Account"> <NavigationPropertyBinding Path="AccountProfile" Target="AccountProfile"/> <NavigationPropertyBinding Path="AccountDataProcessingAgreement" Target="AccountDataProcessingAgreement"/> <NavigationPropertyBinding Path="ActionLog" Target="ActionLog"/> <NavigationPropertyBinding Path="Building" Target="Building"/> <NavigationPropertyBinding Path="MaintenanceContract" Target="MaintenanceContract"/> <NavigationPropertyBinding Path="ServiceProvider" Target="ServiceProvider"/> <NavigationPropertyBinding Path="User" Target="User"/> </EntitySet> <EntitySet Name="AccountProfile" EntityType="Operations.AccountProfile"/> <EntitySet Name="AccountDataProcessingAgreement" EntityType="Operations.AccountDataProcessingAgreement"/> <EntitySet Name="Building" EntityType="PropertyCore.Building"> <NavigationPropertyBinding Path="Equipment" Target="Equipment"/> <NavigationPropertyBinding Path="Account" Target="Account"/> <NavigationPropertyBinding Path="Image" Target="Image"/> </EntitySet> <EntitySet Name="Equipment" EntityType="PropertyCore.Equipment"> <NavigationPropertyBinding Path="EquipmentType" Target="EquipmentType"/> <NavigationPropertyBinding Path="Module" Target="Module"/> <NavigationPropertyBinding Path="Building" Target="Building"/> <NavigationPropertyBinding Path="Section" Target="Section"/> <NavigationPropertyBinding Path="Image" Target="Image"/> <NavigationPropertyBinding Path="InspectionDuty" Target="InspectionDuty"/> <NavigationPropertyBinding Path="QRCodeAssign" Target="QRCodeAssign"/> </EntitySet> <EntitySet Name="EquipmentType" EntityType="PropertyCore.EquipmentType"> <NavigationPropertyBinding Path="Equipment" Target="Equipment"/> <NavigationPropertyBinding Path="CostGroup" Target="CostGroup"/> </EntitySet> <EntitySet Name="Module" EntityType="PropertyCore.Module"> <NavigationPropertyBinding Path="Equipment" Target="Equipment"/> <NavigationPropertyBinding Path="ModuleType" Target="ModuleType"/> <NavigationPropertyBinding Path="Section" Target="Section"/> <NavigationPropertyBinding Path="Image" Target="Image"/> <NavigationPropertyBinding Path="InspectionDuty" Target="InspectionDuty"/> </EntitySet> <EntitySet Name="ModuleType" EntityType="PropertyCore.ModuleType"> <NavigationPropertyBinding Path="Modules" Target="Module"/> </EntitySet> <EntitySet Name="Schedule" EntityType="PropertyCore.Schedule"> <NavigationPropertyBinding Path="Event" Target="Event"/> <NavigationPropertyBinding Path="InspectionDuty" Target="InspectionDuty"/> </EntitySet> <EntitySet Name="Event" EntityType="PropertyCore.Event"> <NavigationPropertyBinding Path="Schedule" Target="Schedule"/> <NavigationPropertyBinding Path="ServiceProvider" Target="ServiceProvider"/> </EntitySet> <EntitySet Name="MaintenanceContract" EntityType="PropertyCore.MaintenanceContract"> <NavigationPropertyBinding Path="Account" Target="Account"/> <NavigationPropertyBinding Path="ServiceProvider" Target="ServiceProvider"/> </EntitySet> <EntitySet Name="Room" EntityType="PropertyCore.Room"/> <EntitySet Name="Floor" EntityType="PropertyCore.Floor"/> <EntitySet Name="Section" EntityType="PropertyCore.Section"> <NavigationPropertyBinding Path="Equipment" Target="Equipment"/> <NavigationPropertyBinding Path="Module" Target="Module"/> </EntitySet> <EntitySet Name="UsageType" EntityType="PropertyCore.UsageType"/> <EntitySet Name="CostGroup" EntityType="PropertyCore.CostGroup"> <NavigationPropertyBinding Path="EquipmentType" Target="EquipmentType"/> </EntitySet> <EntitySet Name="ActionLog" EntityType="PropertyCore.ActionLog"> <NavigationPropertyBinding Path="Account" Target="Account"/> </EntitySet> <EntitySet Name="ServiceProvider" EntityType="PropertyCore.ServiceProvider"> <NavigationPropertyBinding Path="Event" Target="Event"/> <NavigationPropertyBinding Path="MaintenanceContract" Target="MaintenanceContract"/> <NavigationPropertyBinding Path="User" Target="User"/> <NavigationPropertyBinding Path="Account" Target="Account"/> </EntitySet> <EntitySet Name="Document" EntityType="PropertyCore.Document"> <NavigationPropertyBinding Path="User" Target="User"/> <NavigationPropertyBinding Path="DocumentType" Target="DocumentType"/> </EntitySet> <EntitySet Name="DocumentType" EntityType="PropertyCore.DocumentType"> <NavigationPropertyBinding Path="Document" Target="Document"/> <NavigationPropertyBinding Path="OperatorTask" Target="OperatorTask"/> </EntitySet> <EntitySet Name="DocumentTypeGroup" EntityType="PropertyCore.DocumentTypeGroup"> <NavigationPropertyBinding Path="DocumentType" Target="DocumentType"/> </EntitySet> <EntitySet Name="Image" EntityType="PropertyCore.Image"> <NavigationPropertyBinding Path="User" Target="User"/> <NavigationPropertyBinding Path="Module" Target="Module"/> <NavigationPropertyBinding Path="Equipment" Target="Equipment"/> <NavigationPropertyBinding Path="Building" Target="Building"/> </EntitySet> <EntitySet Name="SubscriptionPlan" EntityType="PropertyCore.SubscriptionPlan"/> <EntitySet Name="LegalArea" EntityType="PropertyCore.LegalArea"> <NavigationPropertyBinding Path="OperatorTask" Target="OperatorTask"/> </EntitySet> <EntitySet Name="OperatorTask" EntityType="PropertyCore.OperatorTask"> <NavigationPropertyBinding Path="InspectionDuty" Target="InspectionDuty"/> <NavigationPropertyBinding Path="User" Target="User"/> <NavigationPropertyBinding Path="DocumentType" Target="DocumentType"/> <NavigationPropertyBinding Path="LegalArea" Target="LegalArea"/> </EntitySet> <EntitySet Name="InspectionDuty" EntityType="PropertyCore.InspectionDuty"> <NavigationPropertyBinding Path="Schedule" Target="Schedule"/> <NavigationPropertyBinding Path="Module" Target="Module"/> <NavigationPropertyBinding Path="OperatorTask" Target="OperatorTask"/> <NavigationPropertyBinding Path="Equipment" Target="Equipment"/> </EntitySet> <EntitySet Name="QRCode" EntityType="PropertyCore.QRCode"> <NavigationPropertyBinding Path="QRCodeAssign" Target="QRCodeAssign"/> <NavigationPropertyBinding Path="User" Target="User"/> </EntitySet> <EntitySet Name="QRCodeAssign" EntityType="PropertyCore.QRCodeAssign"> <NavigationPropertyBinding Path="User" Target="User"/> <NavigationPropertyBinding Path="QRCode" Target="QRCode"/> <NavigationPropertyBinding Path="Equipment" Target="Equipment"/> </EntitySet> <ActionImport Name="GeoCode" Action="Tools.GeoCode"/> </EntityContainer> </Schema> </edmx:DataServices> </edmx:Edmx>
Hi, I'll try to have a look at it at the weekend. Maybe your OData Service does use stuff I did not cover yet. We also had some issues when our OData Service grew more complex, I am not sure if I published all our fixes yet, but I'll try to update everything and have a look at your issue.
Regards
Hi, Sorry, couldn't take care of that at the weekend. I hope to get it in my schedule this week, but it I have to do a lot of stuff at work, so maybe it will take until the next week to get into that stuff, sorry.
If it takes too long feel free to fork and debug. I think it is some scenario I didn't think about and this causes an empty/not created list of some sort.
If you need some help/support then just post an answer to this issue.
thx