-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
2,175 additions
and
2,263 deletions.
There are no files selected for viewing
17 changes: 8 additions & 9 deletions
17
src/YuckQi.Data.DocumentDb.MongoDb/Attributes/CollectionAttribute.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
using System; | ||
|
||
namespace YuckQi.Data.DocumentDb.MongoDb.Attributes | ||
namespace YuckQi.Data.DocumentDb.MongoDb.Attributes; | ||
|
||
[AttributeUsage(AttributeTargets.Class)] | ||
public class CollectionAttribute : Attribute | ||
{ | ||
[AttributeUsage(AttributeTargets.Class)] | ||
public class CollectionAttribute : Attribute | ||
{ | ||
public String Name { get; } | ||
public String Name { get; } | ||
|
||
public CollectionAttribute(String name) | ||
{ | ||
Name = name; | ||
} | ||
public CollectionAttribute(String name) | ||
{ | ||
Name = name; | ||
} | ||
} |
17 changes: 8 additions & 9 deletions
17
src/YuckQi.Data.DocumentDb.MongoDb/Attributes/DatabaseAttribute.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
using System; | ||
|
||
namespace YuckQi.Data.DocumentDb.MongoDb.Attributes | ||
namespace YuckQi.Data.DocumentDb.MongoDb.Attributes; | ||
|
||
[AttributeUsage(AttributeTargets.Class)] | ||
public class DatabaseAttribute : Attribute | ||
{ | ||
[AttributeUsage(AttributeTargets.Class)] | ||
public class DatabaseAttribute : Attribute | ||
{ | ||
public String Name { get; } | ||
public String Name { get; } | ||
|
||
public DatabaseAttribute(String name) | ||
{ | ||
Name = name; | ||
} | ||
public DatabaseAttribute(String name) | ||
{ | ||
Name = name; | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.