/// <summary> /// 释放资源 /// </summary> public void Dispose() { if (databaseSchema != null) { databaseSchema.Dispose(); } if (tableSchema != null) { tableSchema.Dispose(); } this.databaseSchema = null; this.tableSchema = null; }
/// <summary> /// 释放资源 /// </summary> public void Dispose() { if (databaseSchema != null) { databaseSchema.Dispose(); } if (dbContexSchema != null) { dbContexSchema.Dispose(); } if (modelSchema != null) { modelSchema.Dispose(); } if (tableSchema != null) { tableSchema.Dispose(); } this.databaseSchema = null; this.dbContexSchema = null; this.modelSchema = null; this.tableSchema = null; }