Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

reverted entity splitting

  • Loading branch information...
commit 968f6a7737ea2f9102de9596585bc7ef5454aece 1 parent b8902b4
Craig Smitham authored January 26, 2012

Showing 1 changed file with 2 additions and 11 deletions. Show diff stats Hide diff stats

  1. 13  DataAccess/DestinationConfiguration.cs
13  DataAccess/DestinationConfiguration.cs
@@ -21,18 +21,9 @@ public DestinationConfiguration()
21 21
 
22 22
             // Relationships
23 23
 
24  
-            //ToTable("Locations", "baga");
25  
-            Map(m =>
26  
-                {
27  
-                    m.Properties(d => new { d.Name, d.Country, d.Description });
28  
-                    m.ToTable("Locations");
29  
-                });
30  
-            Map(m =>
31  
-                {
32  
-                    m.Properties(d => new { d.Photo });
33  
-                    m.ToTable("LocationPhotos");
34  
-                });
35 24
 
  25
+            // Custom table configuration
  26
+            ToTable("Locations", "baga");
36 27
         }
37 28
     }
38 29
 }

0 notes on commit 968f6a7

Please sign in to comment.
Something went wrong with that request. Please try again.