public ScriptableObject(IScriptingSource scriptingSource, ScriptSchemaObjectBase schemaObject) { _scriptingSource = scriptingSource; _schemaObject = schemaObject; _table = _schemaObject as Table; _view = _schemaObject as View; _sproc = _schemaObject as StoredProcedure; _udf = _schemaObject as UserDefinedFunction; }