|
ModelControllerT Constructor (Boolean, String, String)
|
Namespace:
GSF.Web.Model
Assembly:
GSF.Web (in GSF.Web.dll) Version: 2.3.455-beta
Syntax public ModelController(
bool hasParent,
string parentKey,
string primaryKeyField = "ID"
)
Public Sub New (
hasParent As Boolean,
parentKey As String,
Optional primaryKeyField As String = "ID"
)
public:
ModelController(
bool hasParent,
String^ parentKey,
String^ primaryKeyField = L"ID"
)
new :
hasParent : bool *
parentKey : string *
?primaryKeyField : string
(* Defaults:
let _primaryKeyField = defaultArg primaryKeyField "ID"
*)
-> ModelController
GSF.Web.Model.ModelController = function(hasParent, parentKey, primaryKeyField);
Request Example
View SourceParameters
- hasParent
- Type: SystemBoolean
Indicates if the Model has a Parent Model. - parentKey
- Type: SystemString
The key Associated with the Parent Model. - primaryKeyField (Optional)
- Type: SystemString
The Primary Identifier Field for this Model.
See Also