Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.971 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 84 | src/NHibernate/Tool/hbm2ddl/SchemaExport.cs |
2 | 3 | 103 | src/NHibernate/Tool/hbm2ddl/SchemaExport.cs |
| ||||
/// <summary> /// Run the schema creation script /// </summary> /// <param name="script"><see langword="true" /> if the ddl should be outputted in the Console.</param> /// <param name="export"><see langword="true" /> if the ddl should be executed against the Database.</param> /// <remarks> /// This is a convenience method that calls <see cref="Execute(bool, bool, bool)"/> and sets /// the justDrop parameter to false. /// </remarks> public void Create(bool script, bool export) { Execute(script, export, false); } |
| ||||
/// <summary> /// Run the drop schema script /// </summary> /// <param name="script"><see langword="true" /> if the ddl should be outputted in the Console.</param> /// <param name="export"><see langword="true" /> if the ddl should be executed against the Database.</param> /// <remarks> /// This is a convenience method that calls <see cref="Execute(bool, bool, bool)"/> and sets /// the justDrop parameter to true. /// </remarks> public void Drop(bool script, bool export) { Execute(script, export, true); } |
| |||
/// <summary> /// Run the drop schema script /// Run the schema creation script /// </summary> /// <param name="script"><see langword="true" /> if the ddl should be outputted in the Console.</param> /// <param name="export"><see langword="true" /> if the ddl should be executed against the Database.</param> /// <remarks> /// This is a convenience method that calls <see cref="Execute(bool, bool, bool)"/> and sets /// the justDrop parameter to true. /// the justDrop parameter to false. /// </remarks> public void [[#variable584d5400]](bool script, bool export) { Execute(script, export, [[#variable584d53a0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#584d5400]] | Drop |
1 | 2 | [[#584d5400]] | Create |
2 | 1 | [[#584d53a0]] | true |
2 | 2 | [[#584d53a0]] | false |