LinqConnect for Windows Phone or LinqConnect Metro?
LinqConnect for Windows Phone or LinqConnect Metro?
Just changing my app from Windows Phone 8.0 (Silverlight) to Windows Phone 8.1 (universal).
I have LinqConnect (Windows Phone Edition) and I copied my model from the old project to the new one and straight away I get loads of errors like this
"Error 3 The type or namespace name 'INotifyPropertyChanging' could not be found (are you missing a using directive or an assembly reference?)"
So I then deleted and tried to rebuild the model from scratch. In Visual Studio I clicked 'Add New' and then selected Data and normally I have an option for 'Devart LinqConnect Model' but it is not listed.
Just came on here to look for help and noticed there is a version called 'LinqConnect Metro'. Should I be using this version?
I have LinqConnect (Windows Phone Edition) and I copied my model from the old project to the new one and straight away I get loads of errors like this
"Error 3 The type or namespace name 'INotifyPropertyChanging' could not be found (are you missing a using directive or an assembly reference?)"
So I then deleted and tried to rebuild the model from scratch. In Visual Studio I clicked 'Add New' and then selected Data and normally I have an option for 'Devart LinqConnect Model' but it is not listed.
Just came on here to look for help and noticed there is a version called 'LinqConnect Metro'. Should I be using this version?
Re: LinqConnect for Windows Phone or LinqConnect Metro?
Please specify the full information about your Visual Studio (e.g., via Help-> About Microsoft Visual Studio menu).
Please make sure you have added the "Devart LinqConnect for Windows Phone 8.1 (...)" Extension SDK to the References of the Windows Phone 8.1 project. If not, please add it and tell us if this helps.
Please make sure you have added the "Devart LinqConnect for Windows Phone 8.1 (...)" Extension SDK to the References of the Windows Phone 8.1 project. If not, please add it and tell us if this helps.
We will investigate this issue and inform you about the results as soon as possible.In Visual Studio I clicked 'Add New' and then selected Data and normally I have an option for 'Devart LinqConnect Model' but it is not listed.
Re: LinqConnect for Windows Phone or LinqConnect Metro?
Visual Studio Professional 2013 - Version Number 12.0.311.01.00 Update 4
Yes I have double checked that Devart LinqConnect for Windows Phone 8.1 is there.
Yes I have double checked that Devart LinqConnect for Windows Phone 8.1 is there.
Re: LinqConnect for Windows Phone or LinqConnect Metro?
Thank you for the response.
We are investigating the issue. We will inform you about the results as soon as possible.
We are investigating the issue. We will inform you about the results as soon as possible.
Re: LinqConnect for Windows Phone or LinqConnect Metro?
After further investigation it would seem that INotifyPropertyChanging is no longer used in Windows Phone 8.1 Universal/store apps.
Can you provide a fix for this? I would imagine LinqConnect Metro gets around this issue.
Can you provide a fix for this? I would imagine LinqConnect Metro gets around this issue.
Re: LinqConnect for Windows Phone or LinqConnect Metro?
We are working on the issue at the moment. We will contact you as soon as possible.Can you provide a fix for this? I would imagine LinqConnect Metro gets around this issue.
Possible workarounds:
You can create new Devart LinqConnect model in standalone Entity Developer, generate code for it and add the generated code files to your Visual Studio project.In Visual Studio I clicked 'Add New' and then selected Data and normally I have an option for 'Devart LinqConnect Model' but it is not listed.
You could try using POCO classes. The 'POCO Entity' template was improved in LinqConnect 4.2.247: new template setting, "Property Change Notifiers", was added. You can set it to False and in this case, INotifyPropertyChanging and INotifyPropertyChanged interfaces will not be generated."Error 3 The type or namespace name 'INotifyPropertyChanging' could not be found (are you missing a using directive or an assembly reference?)"
Re: LinqConnect for Windows Phone or LinqConnect Metro?
Where can I find this template? I can only see the one template when using the entity developer.You could try using POCO classes. The 'POCO Entity' template was improved in LinqConnect 4.2.247: new template setting, "Property Change Notifiers", was added. You can set it to False and in this case, INotifyPropertyChanging and INotifyPropertyChanged interfaces will not be generated.
Re: LinqConnect for Windows Phone or LinqConnect Metro?
Perform the following steps:
- open the model (*.lqml file) and expand the "Templates" node in Model Explorer;
- select "New Template" from the shortcut menu of the "Templates" node in Model Explorer and then select the "POCO Entity" template;
- open properties for the "POCO Entity" template and set the "Property Change Notifier" property to False;
- right-click the "LinqConnect" template and select Disable.
- save changes and generate the code for model.
Please refer to the corresponding section in the Entity Developer documentation:
- Template System Concepts
- ORM Support -> LinqConnect -> Concepts Model -> Generation Templates
JIC: Entity Developer documentation is available with the installation package (the "Help" component should have been selected when installing).
Please tell us if this helps.
- open the model (*.lqml file) and expand the "Templates" node in Model Explorer;
- select "New Template" from the shortcut menu of the "Templates" node in Model Explorer and then select the "POCO Entity" template;
- open properties for the "POCO Entity" template and set the "Property Change Notifier" property to False;
- right-click the "LinqConnect" template and select Disable.
- save changes and generate the code for model.
Please refer to the corresponding section in the Entity Developer documentation:
- Template System Concepts
- ORM Support -> LinqConnect -> Concepts Model -> Generation Templates
JIC: Entity Developer documentation is available with the installation package (the "Help" component should have been selected when installing).
Please tell us if this helps.
Re: LinqConnect for Windows Phone or LinqConnect Metro?
Just tried using POCO and at the following code I get a new error
Error
'Devart.Data.Linq.Mapping.XmlMappingSource' does not contain a definition for 'FromResource'
Code: Select all
static DefaultXmlMappingProvider()
{
defaultSource = XmlMappingSource.FromResource(@"DataContext1.xml");
}
'Devart.Data.Linq.Mapping.XmlMappingSource' does not contain a definition for 'FromResource'
Re: LinqConnect for Windows Phone or LinqConnect Metro?
Sorry for the delay.
We have contacted you by e-mail.
We have contacted you by e-mail.