Componyx.Data.Base.LogicRelation<T>
Inheritance
Componyx.Data.Base.Logic`1
Inherited Members
Logic`1.SetDefaultSortOrder(List`1 sortOrder)
Logic`1.SetDefaultSortOrder(List`1 sortOrder)
Logic`1.AddDefaultSortOrder(KeyValuePair`2 sortOrder)
Logic`1.AddDefaultSortOrder(KeyValuePair`2 sortOrder)
Logic`1.LoadSet()
Logic`1.LoadSetAsync()
Logic`1.LoadSet(Nullable`1 pageIndex)
Logic`1.LoadSetAsync(Nullable`1 pageIndex)
Logic`1.Load(T obj)
Logic`1.LoadAsync(T obj)
Logic`1.SaveSet(IEnumerable`1 list, Boolean deep, Boolean refreshModel)
Logic`1.SaveSetAsync(IEnumerable`1 list, Boolean deep, Boolean refreshModel)
Logic`1.Save(T obj, Boolean deep, Boolean refreshModel)
Logic`1.SaveAsync(T obj, Boolean deep, Boolean refreshModel)
Logic`1.DeleteSet(IEnumerable`1 list, Boolean deep)
Logic`1.DeleteSetAsync(IEnumerable`1 list, Boolean deep)
Logic`1.Delete(T obj, Boolean deep)
Logic`1.DeleteAsync(T obj, Boolean deep)
Logic`1.TotalItemCount
Logic`1.PageSize
Logic`1.LoadOneToMany
Logic`1.LoadOneToOne
Logic`1.IgnoreTypes
Logic`1.InitializeDAL
Logic`1.ConnectionString
Logic`1.ProviderName
Logic`1.DefaultSortOrder
Logic`1.IsolationLevel
Properties
Name
Type
Description
Methods
#ctor ()
Initializes a new instance of the Logic base class.
#ctor (
connectionString, providerName
)
Initializes a new instance of the Logic base class.
Name
Type
Description
connectionString
System.String
The Connection string.
providerName
System.String
The database provider name. e.g. System.Data.SqlClient (default).
AddRelationProperty<T> (
propertyExpression
)
Adds the relationship property.
Name
Type
Description
propertyExpression
System.Linq.Expressions.Expression{System.Func{<T>}}
Lambda expression in the form: '() => Class.Property'.
LoadSetByRelation (
relation, pageIndex
)
Loads a list of items with the specified type for the specified foreign relationship.
Name
Type
Description
relation
<T>
An object of the specified type with its foreign relation key value(s) set.
pageIndex
System.Nullable{System.Int32}
The page index of the paged result set to load.
Returns
A list of the specified type.
LoadSetByRelation (
dal, relation, pageIndex
)
Loads a list of items with the specified type for the specified foreign relationship.
Name
Type
Description
dal
Componyx.Data.DAL
-
relation
<T>
-
pageIndex
System.Nullable{System.Int32}
-
Returns
LoadSetByRelationAsync (
relation, pageIndex
)
Loads a list of items with the specified type for the specified foreign relationship.
Name
Type
Description
relation
<T>
An object of the specified type with its foreign relation key value(s) set.
pageIndex
System.Nullable{System.Int32}
The page index of the paged result set to load.
Returns
A list of the specified type.
Fields
Name
Type
Description
RelationPropertyNames
-
Gets or sets the property name(s) of the foreign relationship object.
Events
Name
Description
Get Started
Components
AppSkin
Dialog
View and edit mode
Build mode
FormField
Grid
PieChart
TooltipManager
BookmarkSpy
Button
Carousel
Dropdown
Tree
PanelBar
TabStrip
ColorPicker
Search & Select
Autocomplete Tags
DatePicker
Stand-alone
Pop-up
FileUpload
MaskedTextBox
NumericBox
Slider
TimePicker
Validator
Bindary
context
attribute
value
attribute
html
attribute
bind
attribute
type
attribute
attributes
attribute
repeat
attribute
repeat-item-id
attribute
item-id
attribute
filter
attribute
view-formatter
attribute
data-formatter
attribute
if
attribute
else-if
attribute
else
attribute
has-value
attribute
includable
attribute
include
attribute
load
attribute
observe
attribute
Component Introduction
Component File
pre-render
attribute
post-render
attribute
on
attribute
update-id
attribute
keep
attribute
view
attribute
Expressions
Data changes
Routes
Controller
Events
Backend
.NET Backend
Node.js Backend
Benchmark
ORM
Get Started
Mapping
Queries
Logic Layer
API
UI
Appskin
Appskin Appskinevents
Appskin Menuitem
Base
Base Component
Base Events
Base Methods
Base Static
Base Static Item
Base Static Itemlist
Base Webcomponent
Bindary_modules
Bookmarkspy
Bookmarkspy Bookmarkspyevents
Box
Box Boxevents
Button
Button Buttonevents
Carousel
Carousel Carouselevents
Colorbutton
Colorbutton Colorbuttonevents
Colorpicker
Colorpicker Colorpickerevents
Combobox
Combobox Comboboxevents
Combobox Item
Datapager
Datapager Datapagerevents
Datepicker
Datepicker Datepickerevents
Dialog
Dialog Dialogevents
Editor
Editor Editorevents
Editor Styleitem
Editor_modules
Editor_modules Componyx Ui Editor_modules Symbolpicker
Fileupload
Fileupload Fileuploadevents
Form
Form Action
Form Basefield
Form Baseset
Form Basetype
Form Buildblock
Form Command
Form Componentsettings
Form Contentfield
Form Datasource
Form Field
Form Fieldoption
Form Fieldrole
Form Fieldset
Form Formevents
Form Rule
Form Rulecase
Form Rulegroup
Form Section
Form Serverendpoint
Form Spacerfield
Form Validationsettings
Formfield
Form_modules
Grid
Grid Column
Grid Columngroup
Grid Gridevents
Grid Item
Maskedtextbox
Maskedtextbox Maskedtextboxevents
Menu
Menu Item
Menu Menuevents
Menu_modules
Numericbox
Numericbox Numericboxevents
Panelbar
Panelbar Panel
Panelbar Panelbarevents
Piechart
Piechart Piechart Segment
Piechart Piechartevents
Piechart Segment
Slider
Slider Sliderevents
Tabstrip
Tabstrip Item
Tabstrip Tabstripevents
Tabstrip_modules
Timepicker
Timepicker Timepickerevents
Tooltipmanager
Tooltipmanager Trigger
Validator
Validator Rule
Validator Validatorevents
Bindary
Templatebase
Templateitem
Library
Animation
Event
Json
Path
Client
ClientActivityMonitor
DataContainer<T>
DataContainer<T>
DataContainer<T>
DataRequest
DataResponse
DataResponse<T>
DataResponse<T>
DataResponse<T>
DataRules
DataUpdateManager
ReusableAttribute
Server
Subscription
AppSkinAuthenticationMiddleware
AppSkinAuthenticationOptions
AppSkinAuthenticationRequest
AppSkinAuthenticationResponse
AppSkinAuthenticationResponse AuthenticationStateOption
AppSkinAuthenticationResponse FailureReasonOption
AppSkinError
AppSkinMenuItem
AppSkinMenuItem MenuSectionOption
AppSkinMenuItem TileSizeOption
AppSkinSearchMiddleware
AppSkinSearchOptions
Base AjaxResult<T>
Base Attributes
Base Item
Base ItemList<T>
Base NameValuePair
ComboBoxAjaxResult
ComboBoxItem
Extensions
FilteredColumn
FilteredColumn FilterOption
GridColumnFilter
GridFilter
GridItem
GridSortOrder
Json LenientEnumConverter
JSON Utility
Json Utility DefaultSerializer
KeywordIndexData
MenuItem
MenuItem ColumnDirectionOption
MenuItem ExpandDirectionOption
MenuItem TypeOption
ResourceMiddleware
SearchResult
SearchSettings
TabStripItem
TabStripItem DecorationOption
TagHelpers RegisterTagHelper
TagHelpers RegisterTagHelper ThemeOption
Utility
Base JSONData
Base JsonDataSettings
Base JsonDataSettings DefaultSerializer
Base LogicRelation<T>
Base Logic<T>
DAL
DAL FluentQuery<T>
DAL SqlColumnOrdinalOption
DAL SqlDelimitedIdentifierOption
DAL SqlLimitOption
DAL SqlTopLimitOption
DataAnnotations ForeignKeyAttribute
DataAnnotations ReadOnlyAttribute
DataAnnotations TableAliasAttribute
CaseInsensitiveDictionary<T>
CaseInsensitiveSortedDictionary<T>
INamedMetadata
Json IJsonSerializer
Json SystemTextJsonSerializer
PluginLoader<T>
TypeCache
TypeInfo
Client
Clientactivitymonitor
Datacontainer
Datarequest
Dataresponse
Datarules
Dataupdatemanager
Server
Subscription
About Us
Services
FAQ
Contact Us
License Agreement
Privacy Policy