Class SqlFormDocumentManager
Inheritance
System.Object
SqlFormDocumentManager
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: Mediachase.BusinessFoundation.MetaForm
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0Syntax
public static class SqlFormDocumentManager
Methods
Delete(FormDocument)
Deletes this instance.
Declaration
public static void Delete(FormDocument document)
Parameters
Type | Name | Description |
---|---|---|
FormDocument | document |
Delete(Int32)
Deletes this instance.
Declaration
public static void Delete(int documentId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | documentId |
GetFormDocuments(String)
Declaration
public static FormDocument[] GetFormDocuments(string metaClassName)
Parameters
Type | Name | Description |
---|---|---|
System.String | metaClassName |
Returns
Type | Description |
---|---|
FormDocument[] |
GetXml(String, String)
Gets the XML.
Declaration
public static string GetXml(string metaClassName, string formName)
Parameters
Type | Name | Description |
---|---|---|
System.String | metaClassName | Name of the meta class. |
System.String | formName | Name of the form. |
Returns
Type | Description |
---|---|
System.String |
Load(Int32)
Loads the specified form document id.
Declaration
public static FormDocument Load(int formDocumentId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | formDocumentId | The form document id. |
Returns
Type | Description |
---|---|
FormDocument |
Load(String, String)
Loads the specified meta class name.
Declaration
public static FormDocument Load(string metaClassName, string formName)
Parameters
Type | Name | Description |
---|---|---|
System.String | metaClassName | Name of the meta class. |
System.String | formName | Name of the form. |
Returns
Type | Description |
---|---|
FormDocument |
LoadDefault(String, String)
Loads the default form document.
Declaration
public static FormDocument LoadDefault(string metaClassName, string formName)
Parameters
Type | Name | Description |
---|---|---|
System.String | metaClassName | Name of the meta class. |
System.String | formName | Name of the form. |
Returns
Type | Description |
---|---|
FormDocument |
Save(FormDocument)
Saves this instance.
Declaration
public static void Save(FormDocument document)
Parameters
Type | Name | Description |
---|---|---|
FormDocument | document |
SaveTableXml(String, String, String)
Saves the XML.
Declaration
public static void SaveTableXml(string metaClassName, string formName, string xmlTableString)
Parameters
Type | Name | Description |
---|---|---|
System.String | metaClassName | Name of the meta class. |
System.String | formName | Name of the form. |
System.String | xmlTableString | The XML string. |