SQLProvider


MSSqlServerSsdt

Namespace: FSharp.Data.Sql.Providers

Nested types and modules

TypeDescription
CommentAnnotation
ConstraintColumn
PrimaryKeyConstraint
RefTable
SsdtColumn
SsdtRelationship
SsdtSchema
SsdtStoredProc
SsdtStoredProcParam
SsdtTable
SsdtView
SsdtViewColumn
ModuleDescription
RegexParsers

Functions and values

Function or valueDescription
att nm node
Signature: nm:string -> node:XmlNode -> string
attMaybe nm node
Signature: nm:string -> node:XmlNode -> string option
extractModelXml(dacPacPath)
Signature: dacPacPath:string -> string

Extracts model.xml from the given .dacpac file path.

findAndParseModel
Signature: string -> SsdtSchema
findDacPacFile(dacPacPath)
Signature: dacPacPath:string -> string

Tries to find .dacpac file using the given path at design time or by searching the runtime assembly path.

parseXml(xml)
Signature: xml:string -> SsdtSchema
readFile(file)
Signature: file:FileInfo -> string
ssdtColumnToColumn tbl col
Signature: tbl:SsdtTable -> col:SsdtColumn -> Column option
ssdtTableToTable(tbl)
Signature: tbl:SsdtTable -> Table
toXmlNamespaceDoc ns xml
Signature: ns:string -> xml:string -> XmlDocument * (string -> '?8995 -> XmlNode) * (string -> '?8996 -> seq<XmlNode>)
Type parameters: '?8995, '?8996

Returns a doc and node/nodes ns helper fns

tryFindMapping(dataType)
Signature: dataType:string -> TypeMapping option
tryFindMappingOrVariant(dataType)
Signature: dataType:string -> TypeMapping
typeMappingsByName
Signature: Map<string,TypeMapping>
Fork me on GitHub