BenR wrote:
First off, I'm new to LLBLGen Pro, .NET 2.0 and VS2005 so this is a total noob question, and more of a generic .NET 2.0 question at that.
I am currently generating my LLBLGen project into a directory that I treat as "disposable" (i.e. It's entire contents are deleted before being regenerated). Now if I decide to create a partial class to extend one of the business entity classes, asI understand it I must create that partial class file in the same namespace and assembly as the original entity class. Does that mean that my custom partial class file must reside in the same physical directory structure as the generated code?
Or does everyone just maintain their partial class files within the directory structure generated by LLBLGen Pro?
I made the mistake of generating these partial classes in the same directory as the generated entities. I don't believe you have to do this as long as the 2 parts are, like you said, part of the same assembly and namespace. This was a mistake because we use a locking source control system, so any time I regenerate, all team members have to check-in all the custom partial classes...a major PITA.