Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Custom Provider. Please, need some help.

Reply
Thread Tools

Custom Provider. Please, need some help.

 
 
shapper
Guest
Posts: n/a
 
      11-30-2006
Hello,

I created 2 related SQL tables (Content and ContentLocalized) and a few
queries:

Add (Add one record to both tables)
Remove (Remove one record from ContentLocalized given an ID)
RemoveAll (Remove one record from Content and all child records from
ContentLocalized given an ID)
Find (Retrieve one record from Content and one child record from
ContentLocalized)
FindAll (Retrieve all records from Content and all child records from
ContentLocalized)

How can I create a custom provider to use this queries?

Could someone, please, help me out?

Thank You,
Miguel

 
Reply With Quote
 
 
 
 
Mark Rae
Guest
Posts: n/a
 
      11-30-2006
"shapper" <> wrote in message
news: ups.com...

> I created 2 related SQL tables (Content and ContentLocalized) and a few
> queries:
>
> Add (Add one record to both tables)
> Remove (Remove one record from ContentLocalized given an ID)
> RemoveAll (Remove one record from Content and all child records from
> ContentLocalized given an ID)
> Find (Retrieve one record from Content and one child record from
> ContentLocalized)
> FindAll (Retrieve all records from Content and all child records from
> ContentLocalized)
>
> How can I create a custom provider to use this queries?
>
> Could someone, please, help me out?


I'm fairly sure that when you say "custom provider" you don't actually mean
that - on the assumption that when you say "SQL tables" you actually mean
"SQL Server tables", then you already have the native .NET provider which
comes with the .NET Framework.

If that is true, then all you need is to create a class with the various
methods you list above - you can then call one or more of the methods
whenever you need to...


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some help for sending custom commands from ASP.NET page erbilkonuk ASP .Net 1 05-16-2008 08:45 AM
Need some help fixing some HTML and CSS problems Domino HTML 5 11-05-2006 09:58 PM
Custom SiteMapProvider. Please, need some help. shapper ASP .Net 0 10-20-2006 12:35 AM
Wanna make some dough? I need some FO docs created. Holmes! XML 2 04-02-2005 10:43 PM
Need some help for some perl homework.... Perl 0 02-25-2004 01:45 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57