Class InstanceDataStatementTemplates
Contains all SQL-Statements, which will be used for generating code/sql
Inheritance
System.Object
InstanceDataStatementTemplates
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.Extension
Assembly: Simplic.Framework.Extension.dll
Syntax
public class InstanceDataStatementTemplates
Methods
| Improve this Doc View SourceGetAccessTemplate(Int32)
Return WHERE-Condition for filtering data access
Declaration
public static string GetAccessTemplate(int UserId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | UserId | User-Id to filter |
Returns
Type | Description |
---|---|
System.String | Where-Condition (AND-Statement) |
GetRegisterFilterTemplate(String, String)
Get WHERE-Condition for filtering register
Declaration
public static string GetRegisterFilterTemplate(string stackGuid, string registerList)
Parameters
Type | Name | Description |
---|---|---|
System.String | stackGuid | Stack-Guid |
System.String | registerList | List of register |
Returns
Type | Description |
---|---|
System.String | Template |