To support backwards compatibility and make it a bit easier for us using SubSonic 2.x projects to move into 3.0. Can FetchById be added back to the template?
Here's some sample code that brings back the same functionality by just passing off the value to the SingleOrDefault method. This code should be added to ActiveRecord.tt file near the SingleOrDefault methods.
To support backwards compatibility and make it a bit easier for us using SubSonic 2.x projects to move into 3.0. Can FetchById be added back to the template?
Here's some sample code that brings back the same functionality by just passing off the value to the SingleOrDefault method. This code should be added to ActiveRecord.tt file near the SingleOrDefault methods.