Skip to content

implement expression builders #3761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,10 @@ partial interface IDynamoDBContext
/// The type must be marked up with <see cref="DynamoDBTableAttribute" /> and at least
/// one public field/property with <see cref="DynamoDBHashKeyAttribute" />.
/// </remarks>
/// <typeparam name="T">Type of object.</typeparam>
/// <param name="hashKey">Hash key element of the object to delete.</param>
/// <typeparam name="T">The type representing the item stored in DynamoDB. This must be a modeled type
/// decorated with <see cref="DynamoDBTableAttribute" />, and have a hash key field or property.
/// </typeparam>
/// <param name="hashKey">The value of the hash (partition) key identifying the item to delete.</param>
/// <param name="cancellationToken">Token which can be used to cancel the task.</param>
/// <returns>A Task that can be used to poll or wait for results, or both.</returns>
Task DeleteAsync<[DynamicallyAccessedMembers(InternalConstants.DataModelModeledType)] T>(object hashKey, CancellationToken cancellationToken = default);
Expand All @@ -334,8 +336,10 @@ partial interface IDynamoDBContext
/// The type must be marked up with <see cref="DynamoDBTableAttribute" /> and at least
/// one public field/property with <see cref="DynamoDBHashKeyAttribute" />.
/// </remarks>
/// <typeparam name="T">Type of object.</typeparam>
/// <param name="hashKey">Hash key element of the object to delete.</param>
/// <typeparam name="T">The type representing the item stored in DynamoDB. This must be a modeled type
/// decorated with <see cref="DynamoDBTableAttribute" />, and have a hash key field or property.
/// </typeparam>
/// <param name="hashKey">The value of the hash (partition) key identifying the item to delete.</param>
/// <param name="operationConfig">Config object which can be used to override that table used.</param>
/// <param name="cancellationToken">Token which can be used to cancel the task.</param>
/// <returns>A Task that can be used to poll or wait for results, or both.</returns>
Expand All @@ -350,8 +354,10 @@ partial interface IDynamoDBContext
/// The type must be marked up with <see cref="DynamoDBTableAttribute" /> and at least
/// one public field/property with <see cref="DynamoDBHashKeyAttribute" />.
/// </remarks>
/// <typeparam name="T">Type of object.</typeparam>
/// <param name="hashKey">Hash key element of the object to delete.</param>
/// <typeparam name="T">The type representing the item stored in DynamoDB. This must be a modeled type
/// decorated with <see cref="DynamoDBTableAttribute" />, and have a hash key field or property.
/// </typeparam>
/// <param name="hashKey">The value of the hash (partition) key identifying the item to delete.</param>
/// <param name="deleteConfig">Config object that can be used to override properties on the table's context for this request.</param>
/// <param name="cancellationToken">Token which can be used to cancel the task.</param>
/// <returns>A Task that can be used to poll or wait for results, or both.</returns>
Expand All @@ -365,8 +371,10 @@ partial interface IDynamoDBContext
/// The type must be marked up with <see cref="DynamoDBTableAttribute" /> and at least
/// one public field/property with <see cref="DynamoDBHashKeyAttribute" />.
/// </remarks>
/// <typeparam name="T">Type of object.</typeparam>
/// <param name="hashKey">Hash key element of the object to delete.</param>
/// <typeparam name="T">The type representing the item stored in DynamoDB. This must be a modeled type
/// decorated with <see cref="DynamoDBTableAttribute" />, and have a hash key field or property.
/// </typeparam>
/// <param name="hashKey">The value of the hash (partition) key identifying the item to delete.</param>
/// <param name="rangeKey">Range key element of the object to delete.</param>
/// <param name="cancellationToken">Token which can be used to cancel the task.</param>
/// <returns>A Task that can be used to poll or wait for results, or both.</returns>
Expand All @@ -380,8 +388,10 @@ partial interface IDynamoDBContext
/// The type must be marked up with <see cref="DynamoDBTableAttribute" /> and at least
/// one public field/property with <see cref="DynamoDBHashKeyAttribute" />.
/// </remarks>
/// <typeparam name="T">Type of object.</typeparam>
/// <param name="hashKey">Hash key element of the object to delete.</param>
/// <typeparam name="T">The type representing the item stored in DynamoDB. This must be a modeled type
/// decorated with <see cref="DynamoDBTableAttribute" />, and have a hash key field or property.
/// </typeparam>
/// <param name="hashKey">The value of the hash (partition) key identifying the item to delete.</param>
/// <param name="rangeKey">Range key element of the object to delete.</param>
/// <param name="operationConfig">Config object which can be used to override that table used.</param>
/// <param name="cancellationToken">Token which can be used to cancel the task.</param>
Expand All @@ -397,8 +407,10 @@ partial interface IDynamoDBContext
/// The type must be marked up with <see cref="DynamoDBTableAttribute" /> and at least
/// one public field/property with <see cref="DynamoDBHashKeyAttribute" />.
/// </remarks>
/// <typeparam name="T">Type of object.</typeparam>
/// <param name="hashKey">Hash key element of the object to delete.</param>
/// <typeparam name="T">The type representing the item stored in DynamoDB. This must be a modeled type
/// decorated with <see cref="DynamoDBTableAttribute" />, and have a hash key field or property.
/// </typeparam>
/// <param name="hashKey">The value of the hash (partition) key identifying the item to delete.</param>
/// <param name="rangeKey">Range key element of the object to delete.</param>
/// <param name="deleteConfig">Config object that can be used to override properties on the table's context for this request.</param>
/// <param name="cancellationToken">Token which can be used to cancel the task.</param>
Expand Down
Loading