OpenPetra
Free Administration Software for Non-Profits
Ict.Tools.CodeGeneration.DataStore.CodeGenerationCascading Class Reference

Static Public Member Functions

static Boolean WriteTypedDataCascading (TDataDefinitionStore AStore, string AFilePath, string ANamespaceName, string AFileName)
 generate code for cascading deletions etc More...
 

Static Public Attributes

const Int32 CASCADING_DELETE_MAX_REFERENCES = 9
 to avoid huge cascading deletes, which we will probably not allow anyways (e.g. s_user) More...
 

Detailed Description

This will generate the cascading parts of the datastore; it references right across all table groups, therefore a single file is created.

Member Function Documentation

◆ WriteTypedDataCascading()

static Boolean Ict.Tools.CodeGeneration.DataStore.CodeGenerationCascading.WriteTypedDataCascading ( TDataDefinitionStore  AStore,
string  AFilePath,
string  ANamespaceName,
string  AFileName 
)
inlinestatic

generate code for cascading deletions etc

Parameters
AStore
AFilePath
ANamespaceName
AFileName
Returns

Member Data Documentation

◆ CASCADING_DELETE_MAX_REFERENCES

const Int32 Ict.Tools.CodeGeneration.DataStore.CodeGenerationCascading.CASCADING_DELETE_MAX_REFERENCES = 9
static

to avoid huge cascading deletes, which we will probably not allow anyways (e.g. s_user)


The documentation for this class was generated from the following file: