PLINQO is an enhanced alternative for the most popular ORM frameworks. It is a set of CodeSmith Templates designed to simplify the creation and maintenance of data models, as well as provide you with an easy to use data access layer that adhears to best practices.
Questions tagged [plinqo]
24 questions
2
votes
2 answers
C#/PLINQO - Detach and re-attach the same entity to the same context fail
I am using PLINQO for my LINQ-TO-SQL data layer.
I have the following piece of code (not real code, just to re-produce the error I am getting):
var context = new MyDataContext();
var user =…

Koby Mizrahy
- 1,361
- 2
- 12
- 23
2
votes
1 answer
Are there any recent opinions on using PLINQO vs Entity Framework?
We are considering moving from Entity Framework to PLINQO L2S. EF has proven to be quite difficult for us to manage in an MVC3 application. I would agree there are areas of our application that can be improved, but overall, EF may not have been the…

DDiVita
- 4,225
- 5
- 63
- 117
1
vote
1 answer
PLINQO and Transactions problem
I just started working with PLINQO to implement the repository layer and the data tier in my n-tier distributed system.
The data tier consists of the following layers: repository, data provider, data service
The repository layer responsible for…

Koby Mizrahy
- 1,361
- 2
- 12
- 23
1
vote
1 answer
PLINQO many-to-many .Remove(...)
Why, in PLINQO, is the following valid;
parent.ManyToManyChildList.Add(child)
context.SubmitChanges();
But the following is not?
parent.ManyTomanyChildList.Remove(child)
context.SumbmitChanges();
Using Remove(), attempts to set the parent FK part…

Stafford Williams
- 9,696
- 8
- 50
- 101
1
vote
2 answers
LINQ2SQL + PLINQO: How does one handle a simple situation like this?
I’m new to PLINQO, I’m fairly new to LINQ2SQL and I’m adding a new DAL (called DAL2) in parallel with our old existing DAL. Our idea is to start using linq2sql for every new thing we add and slowly start moving old DAL usage to the new DAL2.
As we…

Martin Marconcini
- 26,875
- 19
- 106
- 144
1
vote
1 answer
Have to bind data to User Control using Telerik RadGrid inside another user control?
Basically I have created a user control containing a Telerik RadGrid, inside the control I have another two controls that have Telerik RadGrid inside them. I am trying to bind the modified data back into the User Control inside the parent user…

user1891953
- 11
- 2
1
vote
1 answer
how to filter linq expression for use with CodeSmith bulk update
I'm using CodeSmith Plinqo's bulk update functionality with the following wrapper code:
public int Update(Expression> filter,
Expression> evaluator) where TEntity : class
{
var tbl =…

jhilden
- 12,207
- 5
- 53
- 76
1
vote
1 answer
LINQ to SQL - "Row not found or changed" when updated using OnPropertyChanged
The Save method in the following code is failing with the error "Row not found or changed".
Question question = questionService.getQuestionById(id);
// returning Context.Question.Where(q => q.id == id).SingleOrDefault()
question.Text = "some…

Carl
- 324
- 1
- 15
0
votes
1 answer
can you use plinqo with T4 or other code generation tools???
I want to use plinqo for my personal project, but seem like you need codesmith pro. its 299 bucks.
is there a way we can use it with other code generation tools? I only need it for linq many to many.

qinking126
- 11,385
- 25
- 74
- 124
0
votes
1 answer
What's a strategy for accessing Plinqo metadata from an external program?
I am using Plinqo and Linq-to-SQL to implement a repository. I'd like to inform the UI of validation rules by examining metadata and acting accordingly. Problem is, the Metadata classes in Plinqo are marked internal and are nested inside the classes…

Chris McCall
- 10,317
- 8
- 49
- 80
0
votes
1 answer
How to build custom PLINQO query by multiple id's?
Here's my table structure
Places
PlaceId PK
Name
...
PlaceCategories
CatId PK
Name
...
PlaceCats
PlaceId PK
CatId PK
Here's my query that pulls Places based on category id (table join)
public static IQueryable ByPlaceCat(this…

Chaddeus
- 13,134
- 29
- 104
- 162
0
votes
2 answers
PLINQO / LINQ-To-SQL - Generated Entity Self Save Method?
Hi I'm trying to create a basic data model / layer
The idea is to have:
Task task = TaskRepository.GetTask(2);
task.Description = "The task has changed";
task.Save();
Is this possible? I've tried the code below
Note: The TaskRepository.GetTask()…

Mantisimo
- 4,203
- 5
- 37
- 55
0
votes
1 answer
PLINQO Primary key AND index problem
I've two tables, Profile and ProfileCategory
ProfileId INT IX
UserId UNIQUEIDENTIFIER PK (For one-to-one mapping with aspnet_membership)
CompanyName
Description
ProfileCategory
CategoryId
ProfileId
When I generate the code with PLINGO I get…

Mantisimo
- 4,203
- 5
- 37
- 55
0
votes
1 answer
PLINQO Stop generation on build class library
I've just started using PLINQO which looks really good so far.
The only problem I have is whilst I'm doing custom amends on the entities I rebuild the contained class library and codesmith wants to regenrate my class library which prompts the visual…

Mantisimo
- 4,203
- 5
- 37
- 55
0
votes
1 answer
Use the repository pattern when using PLINQO generated data?
I'm "upgrading" an MVC app. Previously, the DAL was a part of the Model, as a series of repositories (based on the entity name) using standard LINQ to SQL queries. Now, it's a separate project and is generated using PLINQO.
Since PLINQO generates…

Chaddeus
- 13,134
- 29
- 104
- 162