Skip to content

Commit 206a444

Browse files
Merge pull request #565 from sungam3r/spell-check
Spell check
2 parents 4182a39 + 3cb2962 commit 206a444

File tree

23 files changed

+54
-54
lines changed

23 files changed

+54
-54
lines changed

src/shared/Z.EF.Plus.Audit.Shared/Audit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public Audit()
4949
}
5050
catch (Exception)
5151
{
52-
// Oops! it's k, this is the responsability of the user to set the default CreatedBy field
52+
// Oops! it's ok, this is the responsibility of the user to set the default CreatedBy field
5353
CreatedBy = "System";
5454
}
5555
}

src/shared/Z.EF.Plus.Audit.Shared/Audit/AuditEntityModified.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static void AuditEntityModified(Audit audit, EntityEntry objectStateEntry
5353
/// <param name="audit">The audit to use to add changes made to the context.</param>
5454
/// <param name="entry">The entry.</param>
5555
/// <param name="objectStateEntry">The object state entry.</param>
56-
/// <param name="orginalRecord">The orginal record.</param>
56+
/// <param name="orginalRecord">The original record.</param>
5757
/// <param name="currentRecord">The current record.</param>
5858
/// <param name="prefix">The prefix.</param>
5959
public static void AuditEntityModified(Audit audit, AuditEntry entry, ObjectStateEntry objectStateEntry, DbDataRecord orginalRecord, DbUpdatableDataRecord currentRecord, string prefix = "")

src/shared/Z.EF.Plus.Audit.Shared/Audit/PostSaveChanges.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static void PostSaveChanges(Audit audit)
6363
#elif EFCORE
6464
if (entry.State == AuditEntryState.EntityModified && entry.Entry.State == EntityState.Detached)
6565
{
66-
// Oops! It's has not beed modified but deleted
66+
// Oops! It's has not been modified but deleted
6767
entry.State = AuditEntryState.EntityDeleted;
6868

6969
var listToRemove = entry.Properties.Where(x => !x.PropertyEntry.Metadata.IsKey()).ToList();

src/shared/Z.EF.Plus.Audit.Shared/AuditEntry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void Build(Audit parent, EntityEntry entry)
9999
[MaxLength(255)]
100100
public string CreatedBy { get; set; }
101101

102-
/// <summary>Gets or sets the the date of the changes.</summary>
102+
/// <summary>Gets or sets the date of the changes.</summary>
103103
/// <value>The date of the changes.</value>
104104
[Column(Order = 6)]
105105
public DateTime CreatedDate { get; set; }

src/shared/Z.EF.Plus.BatchDelete.Shared/BatchDeleteVisitor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ namespace Z.EntityFramework.Plus
66
public class BatchDeleteVisitor : ExpressionVisitor
77
{
88
/// <summary>Gets or sets a value indicating whether the expression contains an OrderBy method.</summary>
9-
/// <value>true if the expression contains an OrderBy metho has order by, false if not.</value>
9+
/// <value>true if the expression contains an OrderBy method has order by, false if not.</value>
1010
public bool HasOrderBy { get; set; }
1111

1212
/// <summary>Gets or sets a value indicating whether the expression contains an Skip method.</summary>
13-
/// <value>true if the expression contains an Skip metho has order by, false if not.</value>
13+
/// <value>true if the expression contains an Skip method has order by, false if not.</value>
1414
public bool HasSkip { get; set; }
1515

1616
/// <summary>Gets or sets a value indicating whether the expression contains an Take method.</summary>
17-
/// <value>true if the expression contains an Take metho has order by, false if not.</value>
17+
/// <value>true if the expression contains an Take method has order by, false if not.</value>
1818
public bool HasTake { get; set; }
1919

2020
/// <summary>

src/shared/Z.EF.Plus.BatchUpdate.Shared/BatchUpdate.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,7 @@ public Dictionary<string, object> ResolveUpdateFromQueryDictValues<T>(Expression
15581558

15591559
var memberExpression = memberAssignment.Expression;
15601560

1561-
// CHECK if the assignement has a property from the entity.
1561+
// CHECK if the assignment has a property from the entity.
15621562
var hasEntityProperty = false;
15631563
memberExpression.Visit((ParameterExpression p) =>
15641564
{
@@ -1625,7 +1625,7 @@ public Dictionary<string, object> ResolveUpdateFromQueryDictValues<T>(Expression
16251625

16261626
if (dictValues.Count == 0)
16271627
{
1628-
throw new Exception("Invalid update expression. Atleast one column must be updated");
1628+
throw new Exception("Invalid update expression. At least one column must be updated");
16291629
}
16301630

16311631
return dictValues;

src/shared/Z.EF.Plus.BatchUpdate.Shared/BatchUpdateVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Z.EntityFramework.Plus
66
public class BatchUpdateVisitor : ExpressionVisitor
77
{
88
/// <summary>Gets or sets a value indicating whether the expression contains an OrderBy method.</summary>
9-
/// <value>true if the expression contains an OrderBy metho has order by, false if not.</value>
9+
/// <value>true if the expression contains an OrderBy method has order by, false if not.</value>
1010
public bool HasOrderBy { get; set; }
1111

1212
/// <summary>

src/shared/Z.EF.Plus.QueryDeferred.Shared/QueryDeferred.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@ public TResult Execute()
7979
}
8080

8181
#if NET45
82-
/// <summary>Execute asynchrounously the deferred expression and return the result.</summary>
83-
/// <returns>The result of the deferred expression executed asynchrounously.</returns>
82+
/// <summary>Execute asynchronously the deferred expression and return the result.</summary>
83+
/// <returns>The result of the deferred expression executed asynchronously.</returns>
8484
public Task<TResult> ExecuteAsync()
8585
{
8686
return ExecuteAsync(default(CancellationToken));
8787
}
8888

89-
/// <summary>Execute asynchrounously the deferred expression and return the result.</summary>
89+
/// <summary>Execute asynchronously the deferred expression and return the result.</summary>
9090
/// <param name="cancellationToken">The cancellation token.</param>
91-
/// <returns>The result of the deferred expression executed asynchrounously.</returns>
91+
/// <returns>The result of the deferred expression executed asynchronously.</returns>
9292
public Task<TResult> ExecuteAsync(CancellationToken cancellationToken)
9393
{
9494
#if EF5

src/shared/Z.EF.Plus.QueryFilter.Shared/BaseQueryFilter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public abstract class BaseQueryFilter
4444

4545
/// <summary>Apply the filter on the query and return the new filtered query.</summary>
4646
/// <param name="query">The query to filter.</param>
47-
/// <returns>The new query filered query.</returns>
47+
/// <returns>The new filtered query.</returns>
4848
public virtual object ApplyFilter<TEntity>(object query)
4949
{
5050
throw new Exception(ExceptionMessage.GeneralException);
@@ -56,7 +56,7 @@ public void Disable()
5656
Disable(null);
5757
}
5858

59-
/// <summary>Disables this filter on the speficied type.</summary>
59+
/// <summary>Disables this filter on the specified type.</summary>
6060
/// <typeparam name="TType">Type of the element to disable the filter on.</typeparam>
6161
public void Disable<TType>()
6262
{
@@ -83,7 +83,7 @@ public void Enable()
8383
Enable(null);
8484
}
8585

86-
/// <summary>Enables this filter on the speficied type.</summary>
86+
/// <summary>Enables this filter on the specified type.</summary>
8787
/// <typeparam name="TType">Type of the element to enable the filter on.</typeparam>
8888
public void Enable<TType>()
8989
{

src/shared/Z.EF.Plus.QueryFilter.Shared/Extensions/DbContext.Filter.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ public static AliasBaseQueryFilter Filter(this DbContext context, object key)
5959
/// </summary>
6060
/// <typeparam name="T">The type of elements of the query.</typeparam>
6161
/// <param name="context">The context to filter.</param>
62-
/// <param name="queryFilter">The query filter to apply to the the context.</param>
62+
/// <param name="queryFilter">The query filter to apply to the context.</param>
6363
/// <param name="isEnabled">true if the filter is enabled.</param>
64-
/// <returns>The filter created and added to the the context.</returns>
64+
/// <returns>The filter created and added to the context.</returns>
6565
#if EF6
6666
public static AliasBaseQueryFilter DbSetFilter<T>(this DbContext context, Func<IQueryable<T>, IQueryable<T>> queryFilter, bool isEnabled = true)
6767
#else
@@ -82,9 +82,9 @@ public static AliasBaseQueryFilter Filter<T>(this DbContext context, Func<IQuery
8282
/// <typeparam name="T">The type of elements of the query.</typeparam>
8383
/// <param name="context">The context filtered.</param>
8484
/// <param name="key">The filter key associated to the filter.</param>
85-
/// <param name="queryFilter">The query filter to apply to the the context.</param>
85+
/// <param name="queryFilter">The query filter to apply to the context.</param>
8686
/// <param name="isEnabled">true if the filter is enabled.</param>
87-
/// <returns>The filter created and added to the the context.</returns>
87+
/// <returns>The filter created and added to the context.</returns>
8888
#if EF6
8989
public static AliasBaseQueryFilter DbSetFilter<T>(this DbContext context, object key, Func<IQueryable<T>, IQueryable<T>> queryFilter, bool isEnabled = true)
9090
#else

0 commit comments

Comments
 (0)