shared

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package shared provides shared types

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Association

type Association struct {
	Name string `xml:"Name,attr"`
	Ends []End  `xml:"End"`
}

type DataServices

type DataServices struct {
	Schema Schema
}

type Edmx

type Edmx struct {
	DataServices DataServices
}

type End

type End struct {
	Role string `xml:"Role,attr"`
	Type string `xml:"Type,attr"`
}

type Function

type Function struct {
	Name            string      `xml:"Name,attr"`
	Type            string      `xml:"ReturnType,attr"`
	IsBindable      bool        `xml:"IsBindable,attr"`
	IsSideEffecting bool        `xml:"IsSideEffecting,attr"`
	Parameters      []Parameter `xml:"Parameter"`
}
type NavProp struct {
	Name     string `xml:"Name,attr"`
	Type     string `xml:"Relationship,attr"`
	FromRole string `xml:"FromRole,attr"`
	ToRole   string `xml:"ToRole,attr"`
}

type OneCType

type OneCType struct {
	Name        string        `xml:"Name,attr"`
	Keys        []PropertyRef `xml:"Key>PropertyRef"`
	Properties  []Property    `xml:"Property"`
	Navigations []NavProp     `xml:"NavigationProperty"`
}

type Parameter

type Parameter struct {
	Name string `xml:"Name,attr"`
	Type string `xml:"Type,attr"`
}

type Property

type Property struct {
	Name     string `xml:"Name,attr"`
	Type     string `xml:"Type,attr"`
	Nullable bool   `xml:"Nullable,attr"`
}

type PropertyRef

type PropertyRef struct {
	Name string `xml:"Name,attr"`
	Type string
}

type Schema

type Schema struct {
	Name        string     `xml:"Name,attr"`
	Namespace   string     `xml:"Namespace,attr"`
	Entities    []OneCType `xml:"EntityType"`
	Complexes   []OneCType `xml:"ComplexType"`
	Association []Association
	Functions   []Function `xml:"EntityContainer>FunctionImport"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL