I looked at changes in svn and noticed that you made one of the method in SessionSource virtual That's why I thought that almost all not private and not static methods should be virtual for easy extending them with inheritance Postsharp is only a tool , which can be used for making all members of all classes in assembly virtual, just not to forget the word "virtual". There is also a simple way to insert virtual word everythere, where behaviour may be extended by inheritance of a class.
On 30 сент, 22:49, "Paul Batum" <[EMAIL PROTECTED]> wrote: > Postsharp seems to be growing in popularity, feels like I've heard about it > several times in the last couple of weeks. However I see no need for it in > our code base for the moment. > > Paul Batum > > 2008/9/30 ZeusTheTrueGod <[EMAIL PROTECTED]> > > > > > Hi > > Thanx for patch, now I know that it should be one connection for > > inmemory sqlite tests > > by the way, there is an intresting aspect with postsharp, which makes > > all members in assembly virtual > > I guess that adding it will help to override some behaviour easier > > than without virtual members. > > >http://www.codeproject.com/KB/dotnet/Unsealer.aspx > > > postsharp postprocessor should be referenced in .csproj > > > On 30 сент, 19:30, "Paul Batum" <[EMAIL PROTECTED]> wrote: > > > Sorry I didn't follow up on this as soon as I promised. Zeus I took your > > > patch and made a few extra changes to get everything working nicely. > > > See r102 if you are curious: > >http://code.google.com/p/fluent-nhibernate/source/detail?r=102 > > > > Thanks for your efforts, > > > > Paul Batum > > > > On Fri, Sep 26, 2008 at 8:20 AM, Paul Batum <[EMAIL PROTECTED]> > > wrote: > > > > Great, I am pretty sure I know how to fix the tests against sqlite. I > > will > > > > look at applying your patch today. > > > > > On Fri, Sep 26, 2008 at 6:23 AM, ZeusTheTrueGod <[EMAIL PROTECTED]> > > > > wrote: > > > > >> Hi > > > >> I have a patch for this changes with ConnectedTester > > > >> 1)Removed Explicit attribute > > > >> 2)Changed Sql2005 config to SqLite , so all tests run with it. > > > >> 3)Fixed test MappingTest1 , which not worked > > > > >> I've created new Issue - > > > >>http://code.google.com/p/fluent-nhibernate/issues/detail?id=47 > > > >> with attached patch > > > > >> there is still a problem - I don't know how to make tests running with > > > >> InMemory sqlite config(all tests failed), so now it uses a file > > > >> database. > > > > >> Is there any code conventions in this project? some protected members > > > >> are camelCase, others are PascalCase, > > > >> just don't know how should I write protected members. I use Resharper > > > >> 4.1+ Agent Smith plugin, which checks code conventions, once installed > > > >> config for entire solution could help the project to look better. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
