-
In the internal class Metadata on my entities, I can specify [Required] to require a field. However, it doesn't really work with strings, because the view will return an empty string as opposed to a null, which seems to satisfy the attribute. In other words, if I have an entity with an field called...
-
Just a quick post to thank and give accolades to the PLINQO and CodeSmith teams. Blake Niemyjski, supported by Paul Welter and the CodeSmith team, helped me solve an issue using PLINQO and SchemaExplorer. They provided 100% professional and responsive support that ultimately helped me do my job. I have...
Posted to
PLINQO
(Forum)
by
zeus
on
12-17-2009
Filed under: PLINQO, Accolades, Codesmith, Support
-
Hi, I’ve modified my Outputs (more specifically the Dbml) to include Views = True (it was false). However when I regenerate outputs, no views appear. The Folder for views in the Entity output is ..\Views Entities are in ..\Entities and that works. I’ve tried creating the folder first but...
-
What is everyone doing in regards to trimming strings coming back from the database through plinqo? I'm not seeing an option in the codesmith template to trim string columns or any other options. Is there an attribute that can be applied to the internal Metadata class that will trim the properities...
-
I have an Author table, and PLINQO has correctly generated a AuthorManager class with the expected "...Data.Author GetByKey(int authid)". Now, I have Stored Procedure that returns a list of Authors based on various criteria. Ideally, I would like the AuthorManager to have a GetByYadaYadaYada...
-
Please pardon a newbie question, but I just don't get this one (yet)... I have a single form (not a grid) that handles data changes for multiple tables with similar structures (# or fields, etc...). Using CodeSmith's PLINCO, I am doing the following to update the DB from the form: using (var...
Posted to
PLINQO
(Forum)
by
Miles Thornton
on
11-06-2009
Filed under: PLINQO, Entities, plINQ0, dbml datacontext, data context instance
-
This doesnt seem to work for me. I really need to be able to do single and batch deletes on LINQ to SQL and/or through PLINQO by discriminating records based on a non primary key without having to make that extra trip to the database. However, I cannot find a TableExtensions class in the System.Data...
-
Hi, I’m getting started with PLINQO, however in my first attempt (after watching videos/tutorials/etc) to create my own datalayer, I’m getting a warning for each “entity”.generated.cs: C:\path\to\project\Entities\SomeEntityName.Generated.cs(213,22): warning CS0414: The field ‘MyNamespace...
Posted to
PLINQO
(Forum)
by
Gryzor
on
11-02-2009
Filed under: PLINQO, Entities, template error, plINQ0, nightly build
-
Hi http://community.codesmithtools.com/blogs/tdupont/archive/2009/07/28/breaking-change-in-plinqo-3-2.aspx What is release date for plinqo 3.2 ? Getting single entity from cache (caching single entity) is most common operation and definitely needed and supported to max. Would be nice to have some way...
-
Hi, I have stored procedure that returns the scope identity (insert stored procedure) , the output parameter always returns 0 even it executes fine in the DB , so i reviewed the generated datacontext methode for this sp i found out that the parameter is byval not by byref once i change it this parameter...
Posted to
PLINQO
(Forum)
by
Memo
on
10-11-2009
Filed under: PLINQO, stored procs, sp output parameters