You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ReadMe.md
+35-34Lines changed: 35 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,43 +41,44 @@ Use the --version option to specify preview version to install
41
41
42
42
The following code demonstrates basic usage of DataObjects.Net. For full tutorial configuring Domain, defining the model and querying data see our [documentation](http://help.dataobjects.net).
43
43
44
-
// create configuration with connection to Tests database on local instance of MS SQL Server
45
-
var domainConfiguration = new DomainConfiguration(@"sqlserver://localhost/Tests");
// commit opened transaction to save changes made within it
75
+
transactionScope.Complete();
76
+
}
77
+
}
78
+
79
+
// on application shutdown dispose existing domain
80
+
domain.Dispose()
81
+
```
81
82
82
83
83
84
### Getting support
@@ -110,4 +111,4 @@ Version.props file declares version is building. `<DoVersion>` tag defiles versi
110
111
111
112
### License
112
113
113
-
DataObjects.Net and its extensions published here are licensed under the [MIT](https://github.com/DataObjects-NET/dataobjects-net/blob/master/License.txt) license.
114
+
DataObjects.Net and its extensions published here are licensed under the [MIT](https://github.com/DataObjects-NET/dataobjects-net/blob/master/License.txt) license.
0 commit comments