Generates the code for an ActiveRecord class.
| C# | Visual Basic | Visual C++ |
public virtual void Generate( string path, string namespaceName, TableSchema table )
Public Overridable Sub Generate ( _ path As String, _ namespaceName As String, _ table As TableSchema _ )
public: virtual void Generate( String^ path, String^ namespaceName, TableSchema^ table )
- path (String)
- The path to write the code file.
- namespaceName (String)
- The namespace the class will be contained.
- table (TableSchema)
- The table the ActiveRecord class represents.