File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Extensions/Xtensive.Orm.Localization.Tests Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ public abstract class AbstractDictionary : Entity
99 {
1010 [ Key , Field ]
1111 public int Id { get ; set ; }
12-
12+
1313 [ Field ( Nullable = false , Length = 64 ) ]
1414 public string Identifier { get ; set ; }
15-
15+
1616 // abstract property
1717 public abstract string Name { get ; set ; }
1818
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ protected override void PopulateDatabase()
1414 using ( var ts = session . OpenTransaction ( ) ) {
1515
1616 // populating database
17- Country m1 = new Country ( session ) {
17+ var m1 = new Country ( session ) {
1818 Identifier = "HUN" ,
1919 Name = "Magyarország"
2020 } ;
21- Country m2 = new Country ( session ) {
21+ var m2 = new Country ( session ) {
2222 Identifier = "RUS" ,
2323 Name = "Oroszország"
2424 } ;
@@ -38,7 +38,7 @@ public void EntityHierarchyWithAbstractPropertyTest()
3838 Thread . CurrentThread . CurrentCulture = EnglishCulture ;
3939 using ( var session = Domain . OpenSession ( ) ) {
4040 using ( var ts = session . OpenTransaction ( ) ) {
41- var q = session . Query . All < Country > ( ) . OrderBy ( e => e . Identifier ) . Select ( e => new { e . Name } ) ;
41+ var q = session . Query . All < Country > ( ) . OrderBy ( e => e . Identifier ) . Select ( e => new { e . Name } ) ;
4242 var l = q . ToList ( ) ;
4343 // assertions
4444 Assert . AreEqual ( 2 , l . Count ) ;
You can’t perform that action at this time.
0 commit comments