コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }