Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: where can I Find SalesLogixDataContext?
drey
Posts: 16
 
where can I Find SalesLogixDataContext?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 10 6:56 PM
Can any one direct me to a some documentation about using LINQ TO SQL with saleslogix with .NET windows forms?
The standard DataContext gives me an error when I try to use the saleslogix oledb connection.
Thank you
[Reply][Quote]
Terry
Posts: 14
 
Re: where can I Find SalesLogixDataContext?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 11 1:57 PM

Linq to SQL use the sql native client and NOT Ole DB


SalesLogix uses OLEDB to my knowledge there are no automated tools for creating linq to oledb classes like there are for linq to sql.


You have 2 options here basically.  


1. Write your own DAL that leverages the OleDB Provider and implements linq or 


2. Generate a linq to sql class, and then re-work it to use oledb. Keep inmind that all paramters generated buy the LinqToSQL tools generate named parameters and oledb DOES NOT USE named parameters.


I attempted Option 2 and soon realized I did not have the time or patience for this.  So I created my own DAL that gets just the data I need.


There is a third option of creating your own LinqToOleDB genration tool. Again, I have neither the time nor the patience for this.


FYI if you are doing readonly calls to the SalesLogix Database and SalesLogix Security is NOT a concern then you can generate a linq to sql class using the sysdba credentials.


One remaining option which I rely quite heavily on is SData. I have a few production 3rd party tools 1 in MS Access, and 2 in C#.net that now use SData for communicating with the saleslogix database. This uses all of the security features of SalesLogix, all you have to do is write some repository classes that get the data you need.

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: where can I Find SalesLogixDataContext?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Apr 11 9:18 AM
fiogf49gjkf0d

Where does Ryan Farley and his SubLogix framework project stand? He had blogged about using LINQ in an upcoming release....might be worth asking him about it....

[Reply][Quote]
drey
Posts: 16
 
Re: where can I Find SalesLogixDataContext?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Jun 11 12:44 PM
fiogf49gjkf0d

Thank you for the reply.


I gave up on the OLEDB  conn on DataContext.


I am using LINQ for reading and OLEDB for writing. It is working fine.

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 3:53:46 AM