Connection

Posts   
1  /  2
 
    
Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 23-Apr-2007 12:30:27   

Mr walaa or Mr otis please can u give me an exemple or a simple Project of using LlBLGenPro in VS 2005 .net with SQL server thank you

jbb avatar
jbb
User
Posts: 267
Joined: 29-Nov-2005
# Posted on: 23-Apr-2007 15:17:32   

Hello,

on the website you have an" examples" section where you can find what you need.

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 23-Apr-2007 16:31:13   

how to create one dataset for all application? thx jjb

jbb avatar
jbb
User
Posts: 267
Joined: 29-Nov-2005
# Posted on: 23-Apr-2007 16:41:22   

Hi,

why do you want to create a dataset for all the application? What version of llbl do you use? What language do you use(c#, vb.net ....)?

jbb

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 23-Apr-2007 17:14:47   

version llblgen pro 2.1 with languge c#.Net also my Framing training course ask for me to create one file the connection for my appliction (i dont know how to use)

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 24-Apr-2007 04:46:38   

I recommend you to see the LLBLGenPro videos at the website (http://www.llblgen.com/pages/tutorials.aspx) and examples (http://www.llblgen.com/pages/examples.aspx) simple_smile Also read the documentation. And if there's a specific question about that please let us know or be more clear about your last post.

David Elizondo | LLBLGen Support Team
Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 24-Apr-2007 12:28:36   

thx for all can you give me any docummentation from llblgen pro in french please

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39922
Joined: 17-Aug-2003
# Posted on: 24-Apr-2007 12:38:50   

Eagle83 wrote:

version llblgen pro 2.1 with languge c#.Net also my Framing training course ask for me to create one file the connection for my appliction (i dont know how to use)

2.1 hasn't been released yet, you mean 2.0 ?

Our documentation is in english, we don't have a french version, sorry. At least try to check out the examples we provide on our website, have you checked these out?

Frans Bouma | Lead developer LLBLGen Pro
Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 24-Apr-2007 13:55:50   

hello welcom thx for your answer i just saw this exemple but it's was diffeclt i dont understand a lot of thing for exemple "factory" what role ?i am just beginning develpment in c# Can you help me please?

jbb avatar
jbb
User
Posts: 267
Joined: 29-Nov-2005
# Posted on: 24-Apr-2007 15:39:34   

Hello,

first of all, you have to choice what mode will you use(adapter or selfservice). After that you generate the DAL with LLBL using the designer. After you use this code to connect to your database. You should read the generated code section in the manual to see what you can do and how to. If you want to try to understand llbl, first of all try it on a console project just to read some data in your db.

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 24-Apr-2007 16:11:46   

thank yoooooooooo very mach but what is défferent between "adapter" and"self service",?what is role? i dont understand "dal" ? thanx next time i'm waiting your answer

jbb avatar
jbb
User
Posts: 267
Joined: 29-Nov-2005
# Posted on: 24-Apr-2007 16:19:51   

DAL means Data Access Layer "Couche d'acces aux données". For selfservices, each entity can save itself. Llblgen is generated only one project in visual studio instead of the adapter mode that will generate two project (one for the dbspecific and one for the generics entities) Adapter allows you to have only one object that execute the query.

After you will find all differences reading the documentation in the generated code section.

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 24-Apr-2007 16:41:01   

thx for all Mr jbb there is not exist a documentation in french to help me because all the documents are in english and are too hard to me .

jbb avatar
jbb
User
Posts: 267
Joined: 29-Nov-2005
# Posted on: 24-Apr-2007 16:50:30   

documentation is only in english sorry. But english or french, in C# or vb.net the code is the same so with the examples in the documentation it should not be too hard to start.

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 24-Apr-2007 17:28:26   

you are sure you tried the tutorial in website? i tried this tutorial but it's not working because there is some library are missed, i dont find them

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39922
Joined: 17-Aug-2003
# Posted on: 25-Apr-2007 10:34:50   

Eagle83 wrote:

you are sure you tried the tutorial in website? i tried this tutorial but it's not working because there is some library are missed, i dont find them

Eagle, isn't it better to first learn more about .NET programming? If you start with llblgen pro without some .NET experience, you have to learn .NET programming AND how to use llblgen pro at the same time, which can be a challenge.

Frans Bouma | Lead developer LLBLGen Pro
Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 25-Apr-2007 10:37:25   

there is some library are missed

Which?

When you face problems, try to provide as much information as possible, and create a new thread for each different problem. s'il vous plaît

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 25-Apr-2007 11:27:01   

thx otis chokran walaa

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 25-Apr-2007 12:40:01   

good morninng after i tried a toturial "complinig code" but this error has shown "The name 'ConfigFileHelper' does not exist in the current context C:\Documents and Settings\Khttab\Mes documents\LLBLGen Pro Projects\generate\DatabaseSpecific\DataAccessAdapter.cs " what is problem?(download image of error)

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 25-Apr-2007 12:53:24   

other error (dowload image of error) and using system.data.sqlserverCe dosn't exit

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 25-Apr-2007 13:39:16   

help me pleasssssssssssssssssssssssssssssssssssssssssssssssssse

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39922
Joined: 17-Aug-2003
# Posted on: 25-Apr-2007 13:58:14   

You reference the CF.NET versions, you should reference the .NET 2.0 versions of the ORMSupportClasses dll and the SqlServer DQE dll.

You can't use SqlServer CE on the DESKTOP at the moment with llblgen pro, use Sqlserver express instead.

Frans Bouma | Lead developer LLBLGen Pro
Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 25-Apr-2007 14:18:29   

thx but i' m working in sql server 2000 it's not compatible with llblgen pro ?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 25-Apr-2007 16:34:38   

SQL Server 2000 is compatibale with LLBLGen Pro. Just make sure to select the correct Traget Platform when you generate the code. And in the application that uses the generated code, make sure you reference the corresponding LLBLGen runtime library dlls. Refer to the manual: "Using the generated code -> Compiling the code"

Eagle83 avatar
Eagle83
User
Posts: 37
Joined: 23-Apr-2007
# Posted on: 25-Apr-2007 17:19:53   

can you explain more please because my tarjet plateform is .NET 2.0 and i do same step ,same library

1  /  2