Skip to content
Open
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
8 changes: 4 additions & 4 deletions Data/DatabaseUpdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This overload allows you to update the properties of one entry.
```csharp
public void Activate()
{
Database.Update(this, x => x.IsAvtivated = true);
Database.Update(this, x => x.IsActivated = true);
}
```

Expand All @@ -42,7 +42,7 @@ This overload allows you to update the properties of a list of entries in one li
```csharp
public void Activate(params IEnumerable<Employee> employees)
{
Database.Update(employees, x => x.IsAvtivated = true);
Database.Update(employees, x => x.IsActivated = true);
}
```

Expand All @@ -55,8 +55,8 @@ public void Activate()
{
Database.Update(this, x =>
{
x.IsAvtivated = true,
x.IsActivated = true,
x.ActivationDate = LocalTime.Now
});
}
```
```