Anyone can upload a patch. Patches are evaluated by project team members and either Applied or Declined.

1-10 of 27Patches < Previous 1 2 3 Next >
Status ID Uploaded By Description Work Items Action
Being evaluated
1394 Jun 17 at 1:53 AM muxa This patch fixes a limitation of SQLite Data Provider with generating of "PrimaryKey Methods" (those ones that return a Collection on child records).
17073
Download

Being evaluated
1392 Jun 16 at 8:42 PM Kyle2123 This patch adds database transaction support in to the SubSonic framework. The advantage of this is that it allows people to use SubSonic to do database transactions without having to worry about promotion to DTC, making sure DTC is available, etc. The idea for this update is based around the concept used by Brenton Webster in the SharedDbConnectionScope change. The syntax is:

// Start a transaction using the default provider:
using(DatabaseTransaction t = new DatabaseTransaction())
{
// Use SubSonic as normal here, commands are wrapped in a transaction.
Northwind.Customer c = Northwind.DB.Get<Customer>("ALFKI");
c.CompanyName = "Something else";
Northwind.DB.Save<Customer>(c);

// Do this to indicate transaction was successful, otherwise, it will rollback:
t.Complete();
}

The DatabaseTransaction class has a variety of different overloads that allow you to specify other providers, connection strings, and transaction isolation levels. I will post more details in the SubSonic forums.
Download

Being evaluated
1253 May 16 at 3:05 PM rsrobbins I added a new property for the scaffold caption because my table names were creating strange captions. This is likely to be a problem with various table naming conventions so it is a good idea to allow developers to specify the caption.
Download

Being evaluated
1169 May 4 at 1:20 AM jwk4946 fix unescaped keywords in vb template from last build
Download

Being evaluated
956 Mar 12 at 10:32 AM BishopZA IMO the DateTime audit fields (CreatedOn & ModifiedOn) should use UTC instead of local times, since the DB server and the website/application may be in different timezones. I've made the necessary changes, but I did it by adding a new setting to the SubSonic DataProvider class (useUtc in web.config). By default the UseUtc property will be false to remain backwards compatible.
Download

Being evaluated
955 Mar 12 at 10:22 AM BishopZA Currently SqlDataProvider.ExecuteTransaction() always closes the DB connection when it's done instead of letting the AutomaticConnectionScope object do its thing. The result is that if you're inside of a SharedDbConnectionScope/TransactionScope, any DB access that occurs after the call to ExecuteTransaction() (e.g. via a BatchSave) will fail.

I've attached a patch that simply removes the call to Close(), since the AutomaticConnectionScope should take care of it anyway (when not inside a SharedDbConnectionScope).
Download

Being evaluated
895 Feb 29 at 3:14 AM ebersys refactoring, using BCL method instead of custom loop to get the value
Download

Being evaluated
842 Feb 15 at 4:16 PM dthouvenin Fixes WorkItem N°15195 by maintaining a list of used parameter names in AnsiSqlGenerator when building a SqlQuery statement
15195
Download

Being evaluated
818 Feb 10 at 9:34 PM dthouvenin Minor update to SqlQuery in order to bind Parameters with correct Column DataType in order to avoid possible type conversion errors on date or float columns
Download

Being evaluated
799 Feb 4 at 3:47 AM adminjew SubStage: Sets the SubSonic configuration to generate or not to generate the table/view be right clicking and pressing "Enable Generate" or "Disable Generate"
Download

1-10 of 27Patches < Previous 1 2 3 Next >
Updating...