Questions tagged [llblgenpro]

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)).

165 questions
0
votes
1 answer

Caching in LLBLGENPro

We have a project that was implemented in linq to sql and is being migrated to LLBLGenPro runtime using the adapter pattern. The first version of the app did a huge amount of caching, placing entire tables into the httpcache and then doing all the…
Code Silverback
  • 3,204
  • 5
  • 32
  • 39
0
votes
2 answers

LLBL: Can I use the DatabaseGeneric project with multiple DBSpecific projects

I'm using LLBL in a solution for both MS SQL Compact and "regular" MS SQL 2008.. I'm wondering if it's ok to use the same DatabaseGeneric project (generated by LLBL) & reference it from the 2 DBSpecific projects (generated by LLBL) targeting…
Shady M. Najib
  • 2,151
  • 2
  • 19
  • 30
0
votes
1 answer

LLBLGenPro: Query a blank space

I am trying to query black spaces in the database using LLBL Gen Pro. Some in the database, the value is a blank (not null). Can someone tell me how do I do it? I have tried a few way, but none of them works correctly.…
002432SAM
  • 39
  • 7
0
votes
3 answers

LLBL Gen Pro 2.6 and Auditing

I am using LLBL Gen Pro v2.6 and am attempting to create a means of auditing changes made to the database. Now, I know that LLBL Gen has auditing built into it using AuditorBase and dependency injection. The question I have is; I need to track not…
wpfeffer
0
votes
1 answer

Setting LLBLGen Pro TypedList Properties to Nullable type?

I am using LLBLGen Pro 2.6. In the designer, you can easily set a field in an entity to be a .Net nullable type. When you have those same fields in a Typed List, there doesn't seem to be a way to set that same field to be a .Net nullable type. Is…
Dan Appleyard
  • 7,405
  • 14
  • 49
  • 80
0
votes
1 answer

LLBL Gen Predicate Filter

I am new to LLBLGen Pro and am checking for duplicate, I have the following SQL: SQL: select a.TopicId,atc.TopicCategoryId,a.Headline from article a inner join ArticleTopicCategory atc on atc.ArticleId = a.Id where a.TopicId =…
user147215
0
votes
1 answer

Sub query in LLBL Gen Pro

I am new in LLBL gen pro, I have to write Sub query using LLBL gen pro,but I am not getting any sample of how to write this. This is the query I have to write, I know how to define fields, relations and predicate expression. select UserId,…
Syed Salman Raza Zaidi
  • 2,172
  • 9
  • 42
  • 87
0
votes
1 answer

How to generate classes in LLBLGen Pro v3 using SQL Server CE database file

Is it somehow possible to generate classes in LLBL Gen Pro 3.1 using a SQL Server CE .sdf database file? I know in LLBL v2 it was, but in v3 there is no such option when selecting database type. Are there some workarounds for this problem?
Laurer
  • 81
  • 1
  • 4
0
votes
1 answer

Convert LLBLGen model class to View Model objects?

I do not think I worded the title correctly. I am trying to return results to populate a view. the error message I get in the browser console is "A circular reference was detected while serializing an object of type" all of the documentation says…
0
votes
1 answer

how to return results that have a date of yesterday and before

I am returning results using the LLBLGen adapter model. using break points because I cannot get them to populate the kendo grid yet, I can see that they are all coming back. However I need to only return results that have a date property of…
0
votes
1 answer

Populating Grid with data from LLBL adapter model

I have been assigned with populating a grid on page load with data through a LLBL adapter model. I am able to retrieve the results as I can see them when i set a break point. The end result of my assignment is to load all bundles from yesterday and…
0
votes
1 answer

how to use FetchEntityCollection instead of FetchEntity

I am trying to populate a kendo grid with data through the LLBL adapter. I am able to see a single result using a break point when I pass in a PK but I need to return the entire collection of results. The fields that need to be returned are…
0
votes
1 answer

Cannot export kendo grid data to Excel spreadsheet

I am exporting data from a Kendo Grid. The code in the controller breaks with a error at the foreach loop. ERROR MESSAGE -InvalidCastException- {"Unable to cast object of type…
0
votes
0 answers

How to optimize a loading time of a page (report querying a lot of data in DB)

I need some help to elaborate the best scenario possible so that our web page that contains a report can be loaded fast. We use ASP.NET 3.5, IIS and SQL Server 2008. Also we use LLBLGen Pro 2.6. The source in the database is located in several…
Greg
  • 640
  • 5
  • 11
  • 23
0
votes
1 answer

Using dependency injection with ORM codr

I am trying to design a way to use dependency injection with ORM tools so that it will be easy to replace them if needeed. The problem is that it seems impossimble to separate orm code from the program. Even if I am able to separate functionality…
Cemre Mengü
  • 18,062
  • 27
  • 111
  • 169