LLBLGen is an Object Relational Mapper (O/RM) for .NET. With it you can generate your data access layer for multiple O/RM frameworks (LLBLGen Pro Runtime Framework, Entity Framework, Linq to Sql, and NHibernate 2.x / 3.0 (hbm.xml and FluentNHibernate)).
Questions tagged [llblgenpro]
165 questions
0
votes
1 answer
LLBLGen Pro Self Join with Query Spec
I have a simple Entity
public Employee
{
public int Id {get; set;}
public string Name {get; set;}
public int ManagerId {get; set;}
}
then I have an LLBLGen Query
var employeeQuery = qf.Create()
…

renlesterdg
- 44
- 5
0
votes
4 answers
linq to sql or LLBL
I am starting big asp.net project but I could not decided LLbl or linq to sql. Can you help me? What is advantage or disadvantage of linq to sql and LLBL? Which one should I use?
Thank you for answers. I wanna ask one question. I will use it for…

John
- 19
- 1
- 3
0
votes
1 answer
error about LLBLgen pro when run a asp.net file on localhost
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246:…

user3407974
- 1
- 1
0
votes
1 answer
How to use LLBLGen with MVC 5
Hi This is my Action method
public ActionResult Welcome(string name, int numTimes=1)
{
var customerEntityColl = new EntityCollection(new CustomerEntityFactory());
var customerEntity = new CustomerEntity(1);
using(var adapter = new…

Shax
- 4,207
- 10
- 46
- 62
0
votes
1 answer
LLBLGen - How to execute an IRetrievalQuery
I am trying to execute an IRetrievalQuery using the execute() method but I am getting the error "No connection is present. Cannot execute command." The documentation tells that I need to open a connection but I am not sure how. What should I do to…

Cemre Mengü
- 18,062
- 27
- 111
- 169
0
votes
2 answers
How do you save an Already Populated EntityCollection using the adapter.SaveEntityCollection() method in LLBLGEN Pro
I am currently trying to save an EntityCollection that is populated with both new and Dirty Entity objects in different scenarios.
I have set up a transaction to roll back in the Event of failure while saving.
However, it always seems to fail and…

Michael Ngugi M
- 11
- 5
0
votes
1 answer
row-level security in LLBLGenPro
Has anyone ever done row-level security in LLBLGenPro? If so, how?

JoelFan
- 37,465
- 35
- 132
- 205
0
votes
1 answer
Linq to LLBLGen query problem
I've got a Stored Procedure and i'm trying to convert it to a Linq to LLBLGen query. The query in Linq to LLBGen works, but when I trace the query which is send to sql server it is far from perfect.
This is the Stored Procedure:
ALTER PROCEDURE…

Jeroen Breuer
- 263
- 1
- 4
- 15
0
votes
1 answer
Left Join 1 to 1/0 with llblgen?
With EF, if you navigate to a singular related entity within a select projection(such as from the many side of a many-to-one or 1-to-1/0) it would coalesce nulls and give you a left join: https://stackoverflow.com/a/2525950/84206
Since it occurs in…

AaronLS
- 37,329
- 20
- 143
- 202
0
votes
1 answer
What must I update in this LLBLGen-reliant code?
I updated some broken references in a solution (new computer, reintroducing a large solution to its 3rd party components and to TFS).
I'm down from a starting point of 11,257 errors to only a few dozen. The first one that isn't fixable by pointing…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
0
votes
1 answer
How to return an EntityBase2 from a string?
I have a ListBox that is populated with my entity names, i.e. A1AllocationHelp1Entity
On select I need to pass that string name to get an EntityBase2 type.
I can get it using reflection:
Public Function CreateEntity(ByVal entityName As String) As…

kooshka
- 871
- 1
- 9
- 19
0
votes
1 answer
SD.LLBLGen.Pro.DQE dll missing. From where can i get it?
I have a project which uses "SD.LLBLGen.Pro.DQE.OracleMS.NET20" reference.
I did some blunder and it's missing now.
I am getting Build Error:-
The type or namespace name 'Oracle' does not exist in the namespace
'SD.LLBLGen.Pro.DQE' (are you…

Shubh
- 6,693
- 9
- 48
- 83
0
votes
2 answers
Linq to Objects to query LLBLGen projection
I'm trying to use the recommended LLBLGen syntax to query a projection (http://www.llblgen.com/documentation/3.5/LLBLGen%20Pro%20RTF/Using%20the%20generated%20code/Adapter/gencode_usingentityview_adapter.htm#projections)
IEntityView2 view =…

kooshka
- 871
- 1
- 9
- 19
0
votes
4 answers
What is the proper way to check errors from a cascading save?
On creation of a user, a row must be inserted into both the User and Email table. It can fail in either of them(unique constraints). How can I find out which is the reason for failure? My thoughts have been using a lock and querying the database…

Yuriy Faktorovich
- 67,283
- 14
- 105
- 142
0
votes
1 answer
llblgen AND-OR operators presendence AND-OR
I want to generate the llblgen form of sql statement below
select * from sometable where
c1=4 AND ( c2 <> 'true' OR c2 IS NULL )
But I can't get the exact filter option operator AND has presendence over opeator OR so
I'm confused.

dextererer
- 65
- 2
- 3
- 8