SchemaBusinessRuleScript
Overview
The SchemaBusinessRuleScript class provides the Business Rules Scripts base class which defines specific rules and actions to validate data input, without having to hard-code this logic into the client and server application.
With Business Rules Scripts Data Abstract server can provide the business logic in form of JavaScript language as part of the schema, which will then be executed on the server and client side.
See more about Business rules Scripting in Business Rules Scripting Overview.
Location
- Reference: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract.Schema
- Ancestry: SchemaElement | SchemaBusinessRuleScript
constructor
Creates a new instance of the SchemaBusinessRuleScript object.
constructor
SchemaBusinessRuleScript()
Sub New()
constructor (String, INameChangeNotification)
constructor(name: String; notification: INameChangeNotification)
SchemaBusinessRuleScript(String name, INameChangeNotification notification)
Sub New(name As String, notification As INameChangeNotification)
Parameters:
- name:
- notification:
Clone
Creates a new SchemaBusinessRuleScript object that is a copy of the current instance.
method Clone: Object
Object Clone()
Function Clone() As Object
CloneFrom
Copies data from another SchemaBusinessRuleScript object into the current instance.
method CloneFrom(aSource: Object)
void CloneFrom(Object aSource)
Sub CloneFrom(aSource As Object)
Parameters:
- aSource: Specified SchemaBusinessRuleScript object to clone from.
Script
Gets or sets Business Rules Script source code.
property Script: String read write;
String Script { get; set; }
Property Script() As String
ScriptLanguageStr
Gets or sets name of the scripting language used in the {bold|Script} script.
IScriptProvider uses value of this property to determine is it able to
property ScriptLanguageStr: String read write;
String ScriptLanguageStr { get; set; }
Property ScriptLanguageStr() As String
Script
Gets or sets Business Rules Script source code.
property Script: String read write;
String Script { get; set; }
Property Script() As String
ScriptLanguageStr
Gets or sets name of the scripting language used in the {bold|Script} script.
IScriptProvider uses value of this property to determine is it able to
property ScriptLanguageStr: String read write;
String ScriptLanguageStr { get; set; }
Property ScriptLanguageStr() As String
constructor
Creates a new instance of the SchemaBusinessRuleScript object.
constructor
SchemaBusinessRuleScript()
Sub New()
constructor (String, INameChangeNotification)
constructor(name: String; notification: INameChangeNotification)
SchemaBusinessRuleScript(String name, INameChangeNotification notification)
Sub New(name As String, notification As INameChangeNotification)
Parameters:
- name:
- notification:
Clone
Creates a new SchemaBusinessRuleScript object that is a copy of the current instance.
method Clone: Object
Object Clone()
Function Clone() As Object
CloneFrom
Copies data from another SchemaBusinessRuleScript object into the current instance.
method CloneFrom(aSource: Object)
void CloneFrom(Object aSource)
Sub CloneFrom(aSource As Object)
Parameters:
- aSource: Specified SchemaBusinessRuleScript object to clone from.