!NAMESPACE!.AbstractModelTestCase.InitFramework C# (CSharp) Method

InitFramework() protected method

protected InitFramework ( ) : void
return void
		protected virtual void InitFramework()
		{
			IConfigurationSource source = ActiveRecordSectionHandler.Instance;

			ActiveRecordStarter.Initialize( source );

			// Remember to add the types, for example
			// ActiveRecordStarter.Initialize( source, typeof(Blog), typeof(Post) );
			
			// Or to use the assembly that holds the ActiveRecord types
			// ActiveRecordStarter.Initialize(System.Reflection.Assembly.Load("MyARProject"), source);
		}
	}