mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Alanren/new column properties (#1278)
* new column properties * add description
This commit is contained in:
@@ -27,5 +27,7 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner
|
|||||||
public const string Length = "length";
|
public const string Length = "length";
|
||||||
public const string AllowNulls = "allowNulls";
|
public const string AllowNulls = "allowNulls";
|
||||||
public const string IsPrimaryKey = "isPrimaryKey";
|
public const string IsPrimaryKey = "isPrimaryKey";
|
||||||
|
public const string Precision = "precision";
|
||||||
|
public const string Scale = "scale";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -15,6 +15,14 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner.Contracts
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string PropertyName { get; set; }
|
public string PropertyName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The description of the property
|
||||||
|
/// </summary>
|
||||||
|
public string Description { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The component type of the property
|
||||||
|
/// </summary>
|
||||||
public string ComponentType { get; set; }
|
public string ComponentType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ namespace Microsoft.SqlTools.ServiceLayer.TableDesigner.Contracts
|
|||||||
|
|
||||||
public InputBoxProperties Length { get; set; } = new InputBoxProperties();
|
public InputBoxProperties Length { get; set; } = new InputBoxProperties();
|
||||||
|
|
||||||
|
public InputBoxProperties Scale { get; set; } = new InputBoxProperties();
|
||||||
|
|
||||||
|
public InputBoxProperties Precision { get; set; } = new InputBoxProperties();
|
||||||
|
|
||||||
public CheckBoxProperties AllowNulls { get; set; } = new CheckBoxProperties();
|
public CheckBoxProperties AllowNulls { get; set; } = new CheckBoxProperties();
|
||||||
|
|
||||||
public InputBoxProperties DefaultValue { get; set; } = new InputBoxProperties();
|
public InputBoxProperties DefaultValue { get; set; } = new InputBoxProperties();
|
||||||
|
|||||||
Reference in New Issue
Block a user