Why, in an attempt to insert the data into the table through the service, are the empty fields of the facility retained?
-
There's a 1C database. It has received RESTful access through OData protocol. I'm writing a client on C#. Connected to this service via "Enhance the reference to service."
The data request takes place at the corner through DataServiceContext. I'm trying to add a client to Catalog_Partners.
var context = new CRM_2Demo.EnterpriseV8(odataUri) { Credentials = odataCredentials }; var newClient = new CRM_2Demo.Catalog_Партнеры { CRM_Имя = "Влад" };
context.AddToCatalog_Партнеры(newClient); DataServiceResponse response = context.SaveChanges();
The inscription to the OBD is added, but the CRM_IM field still remains empty. Why?
P.S. I have a suspicion that it's because the classes have a Cyrillian in the name, but Visual Studio has been generating all the classes to work with a service without problems... I also tried to initiate other fields, but they're all empty.
-
Look. http://infostart.ru/public/403524/
Look at the fidler that's leaving. Maybe Ref_Key needs to be assigned. Try to update the tape. https://msdn.microsoft.com/ru-ru/library/dd756361(v=vs.100).aspx
And all fields must be filled. Get one footage and look what fields are filled.