C# Class Marten.Transforms.TransformFunction

Inheritance: ISchemaObjects
Datei anzeigen Open project: JasperFx/marten Class Usage Examples

Public Properties

Property Type Description
OtherArgs IList
Prefix string

Public Methods

Method Description
ForFile ( StoreOptions options, string file, string name = null ) : TransformFunction
GenerateFunction ( ) : string
GenerateSchemaObjectsIfNecessary ( AutoCreate autoCreateSchemaObjectsMode, IDocumentSchema schema, Marten.Schema.SchemaPatch patch ) : void
RemoveSchemaObjects ( IManagedConnection connection ) : void
ResetSchemaExistenceChecks ( ) : void
ToDropSignature ( ) : string
ToString ( ) : string
TransformFunction ( StoreOptions options, string name, string body ) : System
WritePatch ( IDocumentSchema schema, Marten.Schema.SchemaPatch patch ) : void
WriteSchemaObjects ( IDocumentSchema schema, StringWriter writer ) : void

Private Methods

Method Description
allArgs ( ) : IEnumerable
functionDiff ( IDocumentSchema schema ) : Marten.Schema.FunctionDiff

Method Details

ForFile() public static method

public static ForFile ( StoreOptions options, string file, string name = null ) : TransformFunction
options StoreOptions
file string
name string
return TransformFunction

GenerateFunction() public method

public GenerateFunction ( ) : string
return string

GenerateSchemaObjectsIfNecessary() public method

public GenerateSchemaObjectsIfNecessary ( AutoCreate autoCreateSchemaObjectsMode, IDocumentSchema schema, Marten.Schema.SchemaPatch patch ) : void
autoCreateSchemaObjectsMode AutoCreate
schema IDocumentSchema
patch Marten.Schema.SchemaPatch
return void

RemoveSchemaObjects() public method

public RemoveSchemaObjects ( IManagedConnection connection ) : void
connection IManagedConnection
return void

ResetSchemaExistenceChecks() public method

public ResetSchemaExistenceChecks ( ) : void
return void

ToDropSignature() public method

public ToDropSignature ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

TransformFunction() public method

public TransformFunction ( StoreOptions options, string name, string body ) : System
options StoreOptions
name string
body string
return System

WritePatch() public method

public WritePatch ( IDocumentSchema schema, Marten.Schema.SchemaPatch patch ) : void
schema IDocumentSchema
patch Marten.Schema.SchemaPatch
return void

WriteSchemaObjects() public method

public WriteSchemaObjects ( IDocumentSchema schema, StringWriter writer ) : void
schema IDocumentSchema
writer System.IO.StringWriter
return void

Property Details

OtherArgs public_oe property

public IList OtherArgs
return IList

Prefix public_oe static_oe property

public static string Prefix
return string