Questions tagged [subsonic]

SubSonic is A Super High-fidelity Batman Utility Belt that works up your Data Access (using Linq in 3.0), throws in some much-needed utility functions, and generally speeds along your dev cycle.

SubSonic 3.0 is the latest version of SubSonic and was released in June of 2009. Work on SubSonic 3.0 lasted close to a year, and revolved mostly around supporting LINQ.

The focus of SubSonic 3.0 is to provide tools, not guidance or an overall mindset/approach. There are a number of things in SubSonic that allow you to move faster while applying whatever patterning floats your boat. We're not as complete as NHibernate, but you'll work faster with less concept count. We're not as deep as Linq to SQL, but you can use our stuff on most databases.

1195 questions
7
votes
3 answers

Subsonic ORM experience

I'm looking for new ORM for a important project, im used to nHibernate with ActiveRecord and I already have a very bad experiencia with EF4, performance and crashing GUI. So search on web I found the Subsonic, i liked what I read in the…
MaltMaster
  • 758
  • 1
  • 10
  • 25
7
votes
5 answers

How to get into SubSonic?

A month ago I searched for some tools that will generate C# classes out for my SQL database/tables. So I don't have to write DAL classes manually and to save a lot of time. I came across "ORM" and subsonic. I watched the webcasts on the homepage…
toebens
  • 4,039
  • 6
  • 24
  • 31
7
votes
4 answers

Editing tables with ASP.Net - Quick 'n Dirty

I have need to provide a way for users to edit tables in ASP.Net. The tables are simple (no master/detail relationships), but there are likely to be a lot of them. What's the quickest/simplest way to provide a view/edit interface to a table, even…
Tim Coker
  • 6,484
  • 2
  • 31
  • 62
7
votes
8 answers

What would you choose for your data layer today, Linq or Subsonic?

We are ready to start a brand new project at work, no legacy code. We did use Subsonic in the past and we pretty happy with it. But that was before Linq. Has anyone had to face this same issue (Linq x Subsonic)? What was your decision? What were…
nandos
  • 1,207
  • 2
  • 11
  • 20
7
votes
5 answers

Benchmark Linq2SQL, Subsonic2, Subsonic3 - Any other ideas to make them faster?

I am working with Subsonic 2 more than 3 years now... After Linq appears and then Subsonic 3, I start thinking about moving to the new Linq futures that are connected to sql. I must say that I start move and port my subsonic 2 with SubSonic 3, and…
Aristos
  • 66,005
  • 16
  • 114
  • 150
7
votes
6 answers

.NET ORM solution with class auto-generation: Subsonic, Castle AR, ...?

I used to work with a custom data mapping library, and curently I'm trying to switch to a more widespread ORM solution. After some experimentation, I refined my requirements to the following: able to generate usable classes from database schema…
VladV
  • 10,093
  • 3
  • 32
  • 48
7
votes
3 answers

Adding DataAnnontations to Generated Partial Classes

I have a Subsonic3 Active Record generated partial User class which I've extended on with some methods in a separate partial class. I would like to know if it is possible to add Data Annotations to the member properties on one partial class where…
Naz
  • 1,793
  • 2
  • 13
  • 25
7
votes
2 answers

Subsonic 3 VS Entity Framework

Anyone worked with Subsonic3 and Entity Framework here who can tell me the pros and cons? This is my first time attempting to try these. Subsonic is easy to setup so as the Entity Framework. I am not sure if Entity Framework works with other…
Shuaib
  • 1,561
  • 3
  • 19
  • 28
6
votes
4 answers

Subsonic - How to use SQL Schema / Owner name as part of the namespace?

I've just started using Subsonic 2.2 and so far very impressed - think it'll save me some serious coding time. Before I dive into using it full time though there is something bugging me that I'd like to sort out. In my current database (a SQL2008…
CResults
  • 5,100
  • 1
  • 22
  • 28
6
votes
1 answer

SubSonic Collection Top 1

Is there way in next piece of code to only get the first record? Dal.TreeHtmlExportsCollection treeHtmlExportsCollection = new Dal.TreeHtmlExportsCollection().Where(Dal.TreeHtmlExports.Columns.TreeId, treeId). …
Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244
6
votes
4 answers

Loop to LINQ Conversion -

Ok I have the following, set-up and working great. These lines of code should do a conversion from DAL Entity (Subsonic) to a ViewModel. IList OptionsRetData = new List(); foreach (var…
LiamB
  • 18,243
  • 19
  • 75
  • 116
6
votes
1 answer

Subsonic 3 - SimpleRepository

I am playing around with Subsonic 3's simple repository and am hitting walls in understanding how to deal with foreign keys... If I have a product object containing int ID; string name; string description; Category category; int categoryID…
Paul
  • 5,514
  • 2
  • 29
  • 38
6
votes
2 answers

Relationships and Lazy Loading in SubSonic 3.0

I'm playing around with SubSonic 3.0 at the moment, and it looks really straight-forward (except that I still have to decide between SimpleRepository and ActiveRecord, but that's another story). However, as the documentation is a bit sparse, I am…
Michael Stum
  • 177,530
  • 117
  • 400
  • 535
5
votes
4 answers

Should I use SubSonic or Dynamic Data for a new CRUD asp.net application?

I need to throw together a quick CRUD asp.net site, but this may become a bigger application down the road. I have some experience with SubSonic, but it has been so long since I did a project with it I have to relearn it. I am also considering using…
notandy
  • 3,330
  • 1
  • 27
  • 35
5
votes
3 answers

Subsonic 3 LINQ Projection issue, fixed or no?

I'm currently experiencing the issue mentioned here (and several other places): Subsonic 3 Linq Projection Issue This is occurring using the 3.0.0.4 release package, and it also occurs when I grab the latest from GitHub and build it. I am using the…
quentin-starin
  • 26,121
  • 7
  • 68
  • 86
1
2
3
79 80