SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

How to connect to a SQL DB using Entity Framework or Linq?

Last post 02-27-2017 5:32 PM by isodino. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-27-2017 5:32 PM

    How to connect to a SQL DB using Entity Framework or Linq?

    I did not find a function to connect DB using Linq framework.

    When I tried to connect using Entity framework, it gives me an following error (please help me):

     

    An error occured during generating the EDMX file from "C:\Users\ahmed\AppData\Local\Temp\tmpF285.ssdl".

     

    Detailed error message:

    EdmGen for Microsoft (R) .NET Framework version 4.6.1586.0

    Copyright (C) Microsoft Corporation. All rights reserved.

     

    C:\Users\ahmed\AppData\Local\Temp\tmpF285.ssdl(2,220) : error 0168: The provider did not return a ProviderManifest instance. Could not determine storage version; a valid storage connection or a version hint is required.

     

    Generation Complete -- 1 errors, 0 warnings

     

    ICSharpCode.Data.EDMDesigner.Core.ObjectModelConverters.ObjectModelConverterException: An error occured during generating the EDMX file from "C:\Users\ahmed\AppData\Local\Temp\tmpF285.ssdl".

       at ICSharpCode.Data.EDMDesigner.Core.ObjectModelConverters.EDMConverter.CreateEDMXFromIDatabase(IDatabase database, String modelNamespace, String objectContextNamespace, String objectContextName)

       at ICSharpCode.Data.EDMDesigner.Core.Windows.EDMWizard.EDMWizardWindow.OnFinished()

       at ICSharpCode.Data.Core.UI.Windows.WizardWindowInnards.btnFinish_Click(Object sender, RoutedEventArgs e)

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.