-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: apply general improvements and update packages
- Improved code quality and structure. - Updated dependencies to their latest versions.
- Loading branch information
1 parent
4759621
commit cf6ec9b
Showing
7 changed files
with
77 additions
and
36 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using MongoDB.Bson.Serialization.Attributes; | ||
using System; | ||
|
||
namespace SharpConnector.Entities | ||
{ | ||
/// <summary> | ||
/// A MongoDB-specific wrapper for ConnectorEntity to include BSON annotations. | ||
/// </summary> | ||
[BsonIgnoreExtraElements] | ||
public class MongoConnectorEntity : ConnectorEntity | ||
{ | ||
// Inherits all properties from ConnectorEntity and includes BSON-specific behavior. | ||
|
||
public MongoConnectorEntity() { } | ||
|
||
public MongoConnectorEntity(string key, object payload, TimeSpan? expiration) | ||
: base(key, payload, expiration) | ||
{ | ||
|
||
} | ||
} | ||
} |
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