Created
September 21, 2012 00:42
-
-
Save agilejon/3759157 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // IFooDAO returns: | |
| public class BaseFoo { | |
| [BsonId] | |
| public long _Id { get; set;} | |
| } | |
| // IFooService returns: | |
| public class FooDTO { | |
| public string FooId { get; set; } | |
| } | |
| // | |
| // | |
| // Alternatively, BaseFoo could be like this: | |
| public class BaseFoo { | |
| [BsonId] | |
| public long FooId { get; set; } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment