-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDeleteDataAccessModelCommand.cs
More file actions
48 lines (45 loc) · 2.04 KB
/
DeleteDataAccessModelCommand.cs
File metadata and controls
48 lines (45 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using RapidField.SolidInstruments.Core;
using System;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace RapidField.SolidInstruments.DataAccess
{
/// <summary>
/// Represents a command to delete a data access model.
/// </summary>
/// <typeparam name="TIdentifier">
/// The type of the unique primary identifier for the data access model.
/// </typeparam>
/// <typeparam name="TDataAccessModel">
/// The type of the associated data access model.
/// </typeparam>
[DataContract]
public class DeleteDataAccessModelCommand<TIdentifier, TDataAccessModel> : DataAccessModelCommand<TIdentifier, TDataAccessModel, Nix>, IDeleteDataAccessModelCommand<TIdentifier, TDataAccessModel>
where TIdentifier : IComparable, IComparable<TIdentifier>, IEquatable<TIdentifier>
where TDataAccessModel : class, IDataAccessModel<TIdentifier>
{
/// <summary>
/// Initializes a new instance of the <see cref="DeleteDataAccessModelCommand{TIdentifier, TDataAccessModel}" /> class.
/// </summary>
/// <param name="modelIdentifier">
/// A value that uniquely identifies the associated data access model.
/// </param>
public DeleteDataAccessModelCommand(TIdentifier modelIdentifier)
: base(modelIdentifier)
{
return;
}
/// <summary>
/// Initializes a new instance of the <see cref="DeleteDataAccessModelCommand{TIdentifier, TDataAccessModel}" /> class.
/// </summary>
[DebuggerHidden]
protected internal DeleteDataAccessModelCommand()
: base()
{
return;
}
}
}