Skip to content

ModelReadWriteOptions enum

Represents different options used during data model loading or saving

public enum Korzh.EasyQuery.ModelReadWriteOptions
: Enum, IComparable, IFormattable, IConvertible
ValueNameDescription
1DbInfoTables, links and other DB specific info will be saved/loaded
2OperatorsInclude operators when saving or loading the model
4EditorsThe value editors will be saved/loaded
8EntitiesThe entities and their attributes will be saved/loaded
16AggrFunctionsIf set - we need to save or load the list of aggregate functions
32DescriptionThe model’s description will be saved/loaded
64DefQueryPathThe path to the default query path will be saved/loaded
128DMEOptionsData Model Editor options will be saved together with the data model
256DbParamsDB connection settings will be saved
512CustomInfoWhether we need to save or load the model’s custom info
1024ClientSideUsing this option means that we are going to create data model’s representation for the client-side code. Warning: Don’t inlcude this option directly, it’s for internal use only. Use ClientSideContent instead
1086ClientSideContentRepresents the default set of options for serializing a JSON representation of the model for the client-side (without all DB-related info)
4095AllAll data model parts will be loaded/saved
4096KeepCurrentIf this option is set - then the previous model will not be cleared before the loading of the new one