EditController..::..AddNewFields Method
Adds the new field to the database table and append it as object property. Only for designers
Namespace:
FLEXYGO.Controlers.UIAssembly: FlexyGo (in FlexyGo.dll)
Syntax
[BlacklistCheckAttribute] [CompressAttribute] public JsonResult AddNewFields( string ObjectName, string FieldName, int FieldType, string TableName )
<BlacklistCheckAttribute> _ <CompressAttribute> _ Public Function AddNewFields ( _ ObjectName As String, _ FieldName As String, _ FieldType As Integer, _ TableName As String _ ) As JsonResult
Parameters
- ObjectName
- Type: String
Name of the object.
- FieldName
- Type: String
The table for the new table field.
- FieldType
- Type: Int32
The SQL Datatype for the new table field
- TableName
- Type: String
The table name
Return Value
a JsonResult with True if success else falseExceptions
Exception | Condition |
---|---|
FLEXYGO.Exceptions..::..LocalizedException | Error on insert property or User must be designer |