You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
749 B
33 lines
749 B
using System.ComponentModel.DataAnnotations;
|
|
using Connected.Annotations;
|
|
|
|
namespace Connected.ServiceModel.Client.Data.Remote;
|
|
internal class TableArgs : ServiceArgs
|
|
{
|
|
}
|
|
|
|
internal sealed class QueryTableArgs : TableArgs
|
|
{
|
|
[Required]
|
|
public string CommandText { get; set; } = default!;
|
|
}
|
|
|
|
internal sealed class TableSchemaArgs : ServiceArgs
|
|
{
|
|
[Required, MaxLength(128)]
|
|
public string TableName { get; set; } = default!;
|
|
}
|
|
|
|
internal sealed class CreateTableArgs : ServiceArgs
|
|
{
|
|
[Required, MaxLength(128)]
|
|
public string Name { get; set; } = default!;
|
|
[NonDefault]
|
|
public List<RemoteTableColumn> Columns { get; set; }
|
|
}
|
|
|
|
internal sealed class UpdateTableArgs : ServiceArgs
|
|
{
|
|
[Required]
|
|
public string CommandText { get; set; } = default!;
|
|
} |