subsonic-simplerepository
Select doesn't work on IQueryable but does on IList
I have two lines of code, one is AllItems().Where(c => c.Id== id) .Select(d => new Quality(d.QualityType)).ToList();[详细]
2023-03-11 01:40 分类:问答Subsonic 3 - Simple repository and creating a foreign key
There seems to be hardly any examples out there so here goes: Here are my three structures but it doesn\'t seem to create the tables properly and when I call the following line it says Id is not reco[详细]
2023-01-24 21:37 分类:问答ORM Comparison: Which comes first the database or classes?
Lately I\'ve been looking into the .NET based ORMs that are available. I\'ve noticed that each ends up siting in one or two camps. In one camp the database is created first, and the ORM provides an ea[详细]
2023-01-16 13:08 分类:问答SubSonic SimpleRepository storing member class
I\'m new to C# and Subsonic. I\'m trying to solve the following case: public class UnknownInt { public int val;[详细]
2023-01-09 22:21 分类:问答SubSonic3 SimpleRepository Relationships Generated are Wrong
I have been told that it\'s more than likely my database that is setup wrong causing the problems so below are my tables with key fields and queries.[详细]
2023-01-07 23:34 分类:问答Funky Sql Generated using SubSonic Simple Repository, LINQ and ASP.NET MVC
I have the following code: if (collection[\"Filter\"] == \"2\") { presentations = presentations.Where(x => x.Speaker.FirstName.StartsWith(\"B\")).[详细]
2023-01-07 20:00 分类:问答Subsonic ignoring TimeSpan property
For some reason the开发者_StackOverflow TimeSpan property on my class is not being persisted into the database by Subsonic it is simply being ignored!? All other properties are being saved OK. I am us[详细]
2023-01-03 13:24 分类:问答SimpleRepository auto migrations with indexes
I am using subsonic simplerepo with migrations in dev and it makes things pretty easy but I keep running into issues with my nvarchar columns that have an index. My users table has an index defined on[详细]
2023-01-01 08:42 分类:问答SubSonic, SimpleRepository and entity interfaces
Firstly, I want to apologize for my English, not my strongest side. To the question. In my current project, I have interfaces to my entities so I can use Subsonic attributes at my head entites and I[详细]
2022-12-20 12:48 分类:问答