FreeSql.xml 296 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>FreeSql</name>
  5. </assembly>
  6. <members>
  7. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.Name">
  8. <summary>
  9. 数据库列名
  10. </summary>
  11. </member>
  12. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.OldName">
  13. <summary>
  14. 指定数据库旧的列名,修改实体属性命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库字段;否则将视为【新增字段】
  15. </summary>
  16. </member>
  17. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.DbType">
  18. <summary>
  19. 数据库类型,如: varchar(255) <para></para>
  20. 字符串长度,可使用特性 [MaxLength(255)]
  21. </summary>
  22. </member>
  23. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsPrimary">
  24. <summary>
  25. 主键
  26. </summary>
  27. </member>
  28. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsIdentity">
  29. <summary>
  30. 自增标识
  31. </summary>
  32. </member>
  33. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsNullable">
  34. <summary>
  35. 是否可DBNull
  36. </summary>
  37. </member>
  38. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsIgnore">
  39. <summary>
  40. 忽略此列,不迁移、不插入
  41. </summary>
  42. </member>
  43. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsVersion">
  44. <summary>
  45. 设置行锁(乐观锁)版本号,每次更新累加版本号,若更新整个实体时会附带当前的版本号判断(修改失败时抛出异常)
  46. </summary>
  47. </member>
  48. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.MapType">
  49. <summary>
  50. 类型映射,除了可做基本的类型映射外,特别介绍的功能:<para></para>
  51. 1、将 enum 属性映射成 typeof(string)<para></para>
  52. 2、将 对象 属性映射成 typeof(string),请安装扩展包 FreeSql.Extensions.JsonMap
  53. </summary>
  54. </member>
  55. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.Position">
  56. <summary>
  57. 创建表时字段的位置(场景:实体继承后设置字段顺序),规则如下:
  58. <para></para>
  59. &gt;0时排前面,1,2,3...
  60. <para></para>
  61. =0时排中间(默认)
  62. <para></para>
  63. &lt;0时排后面,...-3,-2,-1
  64. </summary>
  65. </member>
  66. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.CanInsert">
  67. <summary>
  68. 该字段是否可以插入,默认值true,指定为false插入时该字段会被忽略
  69. </summary>
  70. </member>
  71. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.CanUpdate">
  72. <summary>
  73. 该字段是否可以更新,默认值true,指定为false更新时该字段会被忽略
  74. </summary>
  75. </member>
  76. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.ServerTime">
  77. <summary>
  78. 标记属性为数据库服务器时间(utc/local),在插入的时候使用类似 getdate() 执行
  79. </summary>
  80. </member>
  81. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.StringLength">
  82. <summary>
  83. 设置长度,针对 string/byte[] 类型避免 DbType 的繁琐设置<para></para>
  84. 提示:也可以使用 [MaxLength(100)]<para></para>
  85. ---<para></para>
  86. StringLength = 100 时,对应 DbType:<para></para>
  87. MySql -> varchar(100)<para></para>
  88. SqlServer -> nvarchar(100)<para></para>
  89. PostgreSQL -> varchar(100)<para></para>
  90. Oracle -> nvarchar2(100)<para></para>
  91. Sqlite -> nvarchar(100)<para></para>
  92. ---<para></para>
  93. StringLength &lt; 0 时,对应 DbType:<para></para>
  94. MySql -> text (StringLength = -2 时,对应 longtext)<para></para>
  95. SqlServer -> nvarchar(max)<para></para>
  96. PostgreSQL -> text<para></para>
  97. Oracle -> nclob<para></para>
  98. Sqlite -> text<para></para>
  99. v1.6.0+ byte[] 支持设置 StringLength
  100. </summary>
  101. </member>
  102. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.InsertValueSql">
  103. <summary>
  104. 执行 Insert 方法时使用此值<para></para>
  105. 注意:如果是 getdate() 这种请可考虑使用 ServerTime,因为它对数据库间作了适配
  106. </summary>
  107. </member>
  108. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.Precision">
  109. <summary>
  110. decimal/numeric 类型的长度
  111. </summary>
  112. </member>
  113. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.Scale">
  114. <summary>
  115. decimal/numeric 类型的小数位长度
  116. </summary>
  117. </member>
  118. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.RewriteSql">
  119. <summary>
  120. 重写功能<para></para>
  121. 比如:[Column(RewriteSql = &quot;geography::STGeomFromText({0},4236)&quot;)]<para></para>
  122. 插入:INSERT INTO [table]([geo]) VALUES(geography::STGeomFromText('...',4236))<para></para>
  123. 提示:更新也生效
  124. </summary>
  125. </member>
  126. <member name="P:FreeSql.DataAnnotations.ColumnAttribute.RereadSql">
  127. <summary>
  128. 重读功能<para></para>
  129. 比如:[Column(RereadSql = &quot;{0}.STAsText()&quot;)]<para></para>
  130. 或者:[Column(RereadSql = &quot;{geo}.STAsText()&quot;)]<para></para>
  131. 查询:SELECT a.[id], a.[geo].STAsText() FROM [table] a
  132. </summary>
  133. </member>
  134. <member name="M:FreeSql.DataAnnotations.ColumnFluent.Name(System.String)">
  135. <summary>
  136. 数据库列名
  137. </summary>
  138. </member>
  139. <member name="M:FreeSql.DataAnnotations.ColumnFluent.OldName(System.String)">
  140. <summary>
  141. 指定数据库旧的列名,修改实体属性命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库字段;否则将视为【新增字段】
  142. </summary>
  143. </member>
  144. <member name="M:FreeSql.DataAnnotations.ColumnFluent.DbType(System.String)">
  145. <summary>
  146. 数据库类型,如: varchar(255)
  147. </summary>
  148. </member>
  149. <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsPrimary(System.Boolean)">
  150. <summary>
  151. 主键
  152. </summary>
  153. </member>
  154. <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsIdentity(System.Boolean)">
  155. <summary>
  156. 自增标识
  157. </summary>
  158. </member>
  159. <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsNullable(System.Boolean)">
  160. <summary>
  161. 是否可DBNull
  162. </summary>
  163. </member>
  164. <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsIgnore(System.Boolean)">
  165. <summary>
  166. 忽略此列,不迁移、不插入
  167. </summary>
  168. </member>
  169. <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsVersion(System.Boolean)">
  170. <summary>
  171. 乐观锁
  172. </summary>
  173. </member>
  174. <member name="M:FreeSql.DataAnnotations.ColumnFluent.MapType(System.Type)">
  175. <summary>
  176. 类型映射,比如:可将 enum 属性映射成 typeof(string)
  177. </summary>
  178. <param name="value"></param>
  179. <returns></returns>
  180. </member>
  181. <member name="M:FreeSql.DataAnnotations.ColumnFluent.Position(System.Int16)">
  182. <summary>
  183. 创建表时字段位置,规则如下:
  184. <para></para>
  185. &gt;0时排前面
  186. <para></para>
  187. =0时排中间(默认)
  188. <para></para>
  189. &lt;0时排后面
  190. </summary>
  191. <param name="value"></param>
  192. <returns></returns>
  193. </member>
  194. <member name="M:FreeSql.DataAnnotations.ColumnFluent.CanInsert(System.Boolean)">
  195. <summary>
  196. 该字段是否可以插入,默认值true,指定为false插入时该字段会被忽略
  197. </summary>
  198. <param name="value"></param>
  199. <returns></returns>
  200. </member>
  201. <member name="M:FreeSql.DataAnnotations.ColumnFluent.CanUpdate(System.Boolean)">
  202. <summary>
  203. 该字段是否可以更新,默认值true,指定为false更新时该字段会被忽略
  204. </summary>
  205. <param name="value"></param>
  206. <returns></returns>
  207. </member>
  208. <member name="M:FreeSql.DataAnnotations.ColumnFluent.ServerTime(System.DateTimeKind)">
  209. <summary>
  210. 标记属性为数据库服务器时间(utc/local),在插入的时候使用类似 getdate() 执行
  211. </summary>
  212. <param name="value"></param>
  213. <returns></returns>
  214. </member>
  215. <member name="M:FreeSql.DataAnnotations.ColumnFluent.StringLength(System.Int32)">
  216. <summary>
  217. 设置长度,针对 string 类型避免 DbType 的繁琐设置<para></para>
  218. ---<para></para>
  219. StringLength = 100 时,对应 DbType:<para></para>
  220. MySql -> varchar(100)<para></para>
  221. SqlServer -> nvarchar(100)<para></para>
  222. PostgreSQL -> varchar(100)<para></para>
  223. Oracle -> nvarchar2(100)<para></para>
  224. Sqlite -> nvarchar(100)<para></para>
  225. ---<para></para>
  226. StringLength = -1 时,对应 DbType:<para></para>
  227. MySql -> text<para></para>
  228. SqlServer -> nvarchar(max)<para></para>
  229. PostgreSQL -> text<para></para>
  230. Oracle -> nvarchar2(4000)<para></para>
  231. Sqlite -> text<para></para>
  232. </summary>
  233. </member>
  234. <member name="M:FreeSql.DataAnnotations.ColumnFluent.InsertValueSql(System.String)">
  235. <summary>
  236. 执行 Insert 方法时使用此值<para></para>
  237. 注意:如果是 getdate() 这种请可考虑使用 ServerTime,因为它对数据库间作了适配
  238. </summary>
  239. <param name="value"></param>
  240. <returns></returns>
  241. </member>
  242. <member name="M:FreeSql.DataAnnotations.ColumnFluent.Precision(System.Int32,System.Int32)">
  243. <summary>
  244. decimal/numeric 类型的长度/小数位长度
  245. </summary>
  246. <param name="precision">总长度</param>
  247. <param name="scale">小数位长度</param>
  248. <returns></returns>
  249. </member>
  250. <member name="M:FreeSql.DataAnnotations.ColumnFluent.RewriteSql(System.String)">
  251. <summary>
  252. 重写功能<para></para>
  253. 比如:[Column(RewriteSql = &quot;geography::STGeomFromText({0},4236)&quot;)]<para></para>
  254. 插入:INSERT INTO [table]([geo]) VALUES(geography::STGeomFromText('...',4236))<para></para>
  255. 提示:更新也生效
  256. </summary>
  257. <param name="value"></param>
  258. <returns></returns>
  259. </member>
  260. <member name="M:FreeSql.DataAnnotations.ColumnFluent.RereadSql(System.String)">
  261. <summary>
  262. 重读功能<para></para>
  263. 比如:[Column(RereadSql = &quot;{0}.STAsText()&quot;)]<para></para>
  264. 或者:[Column(RereadSql = &quot;{geo}.STAsText()&quot;)]<para></para>
  265. 查询:SELECT a.[id], a.[geo].STAsText() FROM [table] a
  266. </summary>
  267. <param name="value"></param>
  268. <returns></returns>
  269. </member>
  270. <member name="T:FreeSql.DataAnnotations.ExpressionCallAttribute">
  271. <summary>
  272. 自定义表达式函数解析<para></para>
  273. 注意:请使用静态方法、或者在类上标记
  274. </summary>
  275. </member>
  276. <member name="T:FreeSql.DataAnnotations.RawValueAttribute">
  277. <summary>
  278. 自定义表达式函数解析的时候,指定参数不解析 SQL,而是直接传进来
  279. </summary>
  280. </member>
  281. <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.DataType">
  282. <summary>
  283. 数据库类型,可用于适配多种数据库环境
  284. </summary>
  285. </member>
  286. <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.ParsedContent">
  287. <summary>
  288. 已解析的表达式中参数内容
  289. </summary>
  290. </member>
  291. <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.RawExpression">
  292. <summary>
  293. 表达式原始值
  294. </summary>
  295. </member>
  296. <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.DbParameter">
  297. <summary>
  298. 主对象的参数化对象,可重塑其属性
  299. </summary>
  300. </member>
  301. <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.UserParameters">
  302. <summary>
  303. 可附加参数化对象<para></para>
  304. 注意:本属性只有 Where 的表达式解析才可用
  305. </summary>
  306. </member>
  307. <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.FormatSql">
  308. <summary>
  309. 将 c# 对象转换为 SQL
  310. </summary>
  311. </member>
  312. <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.Result">
  313. <summary>
  314. 返回表达式函数表示的 SQL 字符串
  315. </summary>
  316. </member>
  317. <member name="M:FreeSql.DataAnnotations.ExpressionCallContext.IUtility.GetTableByEntity(System.Type)">
  318. <summary>
  319. 获取实体元数据
  320. </summary>
  321. <param name="entityType"></param>
  322. <returns></returns>
  323. </member>
  324. <member name="M:FreeSql.DataAnnotations.ExpressionCallContext.IUtility.ParseExpression(System.Linq.Expressions.Expression)">
  325. <summary>
  326. 解析表达式
  327. </summary>
  328. <param name="exp"></param>
  329. <returns></returns>
  330. </member>
  331. <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.IUtility.CommonUtils">
  332. <summary>
  333. (非公开)内部公共工具类方法
  334. </summary>
  335. </member>
  336. <member name="T:FreeSql.DataAnnotations.IndexAttribute">
  337. <summary>
  338. 索引设置,如:[Index("{tablename}_idx_01", "name")]
  339. </summary>
  340. </member>
  341. <member name="M:FreeSql.DataAnnotations.IndexAttribute.#ctor(System.String,System.String)">
  342. <summary>
  343. 索引设置,如:[Index("{tablename}_idx_01", "name")]
  344. </summary>
  345. <param name="name">索引名<para></para>v1.7.0 增加占位符 {TableName} 表名区分索引名 (解决 AsTable 分表 CodeFirst 导致索引名重复的问题)</param>
  346. <param name="fields">索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC</param>
  347. </member>
  348. <member name="M:FreeSql.DataAnnotations.IndexAttribute.#ctor(System.String,System.String,System.Boolean)">
  349. <summary>
  350. 索引设置,如:[Index("{tablename}_idx_01", "name", true)]
  351. </summary>
  352. <param name="name">索引名<para></para>v1.7.0 增加占位符 {TableName} 表名区分索引名 (解决 AsTable 分表 CodeFirst 导致索引名重复的问题)</param>
  353. <param name="fields">索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC</param>
  354. <param name="isUnique">是否唯一</param>
  355. </member>
  356. <member name="P:FreeSql.DataAnnotations.IndexAttribute.Name">
  357. <summary>
  358. 索引名<para></para>
  359. v1.7.0 增加占位符 {TableName} 表名区分索引名 (解决 AsTable 分表 CodeFirst 导致索引名重复的问题)
  360. </summary>
  361. </member>
  362. <member name="P:FreeSql.DataAnnotations.IndexAttribute.Fields">
  363. <summary>
  364. 索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC
  365. </summary>
  366. </member>
  367. <member name="P:FreeSql.DataAnnotations.IndexAttribute.IsUnique">
  368. <summary>
  369. 是否唯一
  370. </summary>
  371. </member>
  372. <member name="P:FreeSql.DataAnnotations.IndexAttribute.IndexMethod">
  373. <summary>
  374. 索引类型<para></para>
  375. 暂时只有 FreeSql.Provider.PostgreSQL 有效
  376. </summary>
  377. </member>
  378. <member name="T:FreeSql.DataAnnotations.IndexMethod">
  379. <summary>
  380. 暂时只有 FreeSql.Provider.PostgreSQL 有效
  381. </summary>
  382. </member>
  383. <member name="T:FreeSql.DataAnnotations.NavigateAttribute">
  384. <summary>
  385. OneToOne:[Navigate(nameof(Primary))] &lt;-&gt; (缺省)外表.Primary<para></para>
  386. ManyToOne:Topic.cs 文件 [Navigate(nameof(Topic.CategoryId))] &lt;-&gt; (缺省)Category.Id<para></para>
  387. _________________public Category Category { get; set; }<para></para>
  388. OneToMany:Category.cs 文件 (缺省)Category.Id &lt;-&gt; [Navigate(nameof(Topic.CategoryId))]<para></para>
  389. _________________public List&lt;Topic&gt; Topics { get; set; }<para></para>
  390. </summary>
  391. </member>
  392. <member name="P:FreeSql.DataAnnotations.NavigateAttribute.Bind">
  393. <summary>
  394. OneToOne:[Navigate(nameof(Primary))] &lt;-&gt; (缺省)外表.Primary<para></para>
  395. ManyToOne:Topic.cs 文件 [Navigate(nameof(Topic.CategoryId))] &lt;-&gt; (缺省)Category.Id<para></para>
  396. _________________public Category Category { get; set; }<para></para>
  397. OneToMany:Category.cs 文件 (缺省)Category.Id &lt;-&gt; [Navigate(nameof(Topic.CategoryId))]<para></para>
  398. _________________public List&lt;Topic&gt; Topics { get; set; }<para></para>
  399. </summary>
  400. </member>
  401. <member name="P:FreeSql.DataAnnotations.NavigateAttribute.TempPrimary">
  402. <summary>
  403. 与非主键进行关联,仅支持 OneToMany、ManyToOne<para></para>
  404. 使用方法参考 Bind 属性
  405. </summary>
  406. </member>
  407. <member name="P:FreeSql.DataAnnotations.NavigateAttribute.ManyToMany">
  408. <summary>
  409. 手工绑定 ManyToMany 导航关系
  410. </summary>
  411. </member>
  412. <member name="M:FreeSql.DataAnnotations.NavigateAttribute.#ctor(System.String)">
  413. <summary>
  414. OneToOne:[Navigate(nameof(Primary))] &lt;-&gt; (缺省)外表.Primary<para></para>
  415. ManyToOne:Topic.cs 文件 [Navigate(nameof(Topic.CategoryId))] &lt;-&gt; (缺省)Category.Id<para></para>
  416. _________________public Category Category { get; set; }<para></para>
  417. OneToMany:Category.cs 文件 (缺省)Category.Id &lt;-&gt; [Navigate(nameof(Topic.CategoryId))]<para></para>
  418. _________________public List&lt;Topic&gt; Topics { get; set; }<para></para>
  419. </summary>
  420. </member>
  421. <member name="P:FreeSql.DataAnnotations.OraclePrimaryKeyNameAttribute.Name">
  422. <summary>
  423. 主键名
  424. </summary>
  425. </member>
  426. <member name="P:FreeSql.DataAnnotations.TableAttribute.Name">
  427. <summary>
  428. 数据库表名
  429. </summary>
  430. </member>
  431. <member name="P:FreeSql.DataAnnotations.TableAttribute.OldName">
  432. <summary>
  433. 指定数据库旧的表名,修改实体命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库表;否则将视为【创建新表】
  434. </summary>
  435. </member>
  436. <member name="P:FreeSql.DataAnnotations.TableAttribute.DisableSyncStructure">
  437. <summary>
  438. 禁用 CodeFirst 同步结构迁移
  439. </summary>
  440. </member>
  441. <member name="P:FreeSql.DataAnnotations.TableAttribute.AsTable">
  442. <summary>
  443. 格式:属性名=开始时间(递增)<para></para>
  444. 按年分表:[Table(Name = "log_{yyyy}", AsTable = "create_time=2022-1-1(1 year)")]<para></para>
  445. 按月分表:[Table(Name = "log_{yyyyMM}", AsTable = "create_time=2022-5-1(1 month)")]<para></para>
  446. 按日分表:[Table(Name = "log_{yyyyMMdd}", AsTable = "create_time=2022-5-1(5 day)")]<para></para>
  447. 按时分表:[Table(Name = "log_{yyyyMMddHH}", AsTable = "create_time=2022-5-1(6 hour)")]<para></para>
  448. </summary>
  449. </member>
  450. <member name="M:FreeSql.DataAnnotations.DateTimeAsTableImpl.GetTableNamesBySqlWhere(System.String,System.Collections.Generic.List{System.Data.Common.DbParameter},FreeSql.Internal.Model.SelectTableInfo,FreeSql.Internal.CommonUtils)">
  451. <summary>
  452. 可以匹配以下条件(支持参数化):<para></para>
  453. `field` BETWEEN '2022-01-01 00:00:00' AND '2022-03-01 00:00:00'<para></para>
  454. `field` &gt; '2022-01-01 00:00:00' AND `field` &lt; '2022-03-01 00:00:00'<para></para>
  455. `field` &gt; '2022-01-01 00:00:00' AND `field` &lt;= '2022-03-01 00:00:00'<para></para>
  456. `field` &gt;= '2022-01-01 00:00:00' AND `field` &lt; '2022-03-01 00:00:00'<para></para>
  457. `field` &gt;= '2022-01-01 00:00:00' AND `field` &lt;= '2022-03-01 00:00:00'<para></para>
  458. `field` &gt; '2022-01-01 00:00:00'<para></para>
  459. `field` &gt;= '2022-01-01 00:00:00'<para></para>
  460. `field` &lt; '2022-01-01 00:00:00'<para></para>
  461. `field` &lt;= '2022-01-01 00:00:00'<para></para>
  462. </summary>
  463. <returns></returns>
  464. <exception cref="T:System.Exception"></exception>
  465. </member>
  466. <member name="M:FreeSql.DataAnnotations.TableFluent.Name(System.String)">
  467. <summary>
  468. 数据库表名
  469. </summary>
  470. </member>
  471. <member name="M:FreeSql.DataAnnotations.TableFluent.OldName(System.String)">
  472. <summary>
  473. 指定数据库旧的表名,修改实体命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库表;否则将视为【创建新表】
  474. </summary>
  475. </member>
  476. <member name="M:FreeSql.DataAnnotations.TableFluent.DisableSyncStructure(System.Boolean)">
  477. <summary>
  478. 禁用 CodeFirst 同步结构迁移
  479. </summary>
  480. </member>
  481. <member name="M:FreeSql.DataAnnotations.TableFluent.AsTable(System.String)">
  482. <summary>
  483. 格式:属性名=开始时间(递增)<para></para>
  484. 按年分表:[Table(Name = "log_{yyyy}", AsTable = "create_time=2022-1-1(1 year)")]<para></para>
  485. 按月分表:[Table(Name = "log_{yyyyMM}", AsTable = "create_time=2022-5-1(1 month)")]<para></para>
  486. 按日分表:[Table(Name = "log_{yyyyMMdd}", AsTable = "create_time=2022-5-1(5 day)")]<para></para>
  487. 按时分表:[Table(Name = "log_{yyyyMMddHH}", AsTable = "create_time=2022-5-1(6 hour)")]<para></para>
  488. </summary>
  489. </member>
  490. <member name="M:FreeSql.DataAnnotations.TableFluent.Navigate(System.String,System.String,System.Type)">
  491. <summary>
  492. 导航关系Fluent,与 NavigateAttribute 对应
  493. </summary>
  494. <param name="proto"></param>
  495. <param name="bind"></param>
  496. <param name="manyToMany">多对多关系的中间实体类型</param>
  497. <returns></returns>
  498. </member>
  499. <member name="M:FreeSql.DataAnnotations.TableFluent.Index(System.String,System.String,System.Boolean)">
  500. <summary>
  501. 设置实体的索引
  502. </summary>
  503. <param name="name">索引名</param>
  504. <param name="fields">索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC</param>
  505. <param name="isUnique">是否唯一</param>
  506. <returns></returns>
  507. </member>
  508. <member name="M:FreeSql.DataAnnotations.TableFluent`1.Name(System.String)">
  509. <summary>
  510. 数据库表名
  511. </summary>
  512. </member>
  513. <member name="M:FreeSql.DataAnnotations.TableFluent`1.OldName(System.String)">
  514. <summary>
  515. 指定数据库旧的表名,修改实体命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库表;否则将视为【创建新表】
  516. </summary>
  517. </member>
  518. <member name="M:FreeSql.DataAnnotations.TableFluent`1.DisableSyncStructure(System.Boolean)">
  519. <summary>
  520. 禁用 CodeFirst 同步结构迁移
  521. </summary>
  522. </member>
  523. <member name="M:FreeSql.DataAnnotations.TableFluent`1.AsTable(System.String)">
  524. <summary>
  525. 格式:属性名=开始时间(递增)<para></para>
  526. 按年分表:[Table(Name = "log_{yyyy}", AsTable = "create_time=2022-1-1(1 year)")]<para></para>
  527. 按月分表:[Table(Name = "log_{yyyyMM}", AsTable = "create_time=2022-5-1(1 month)")]<para></para>
  528. 按日分表:[Table(Name = "log_{yyyyMMdd}", AsTable = "create_time=2022-5-1(5 day)")]<para></para>
  529. 按时分表:[Table(Name = "log_{yyyyMMddHH}", AsTable = "create_time=2022-5-1(6 hour)")]<para></para>
  530. </summary>
  531. </member>
  532. <member name="M:FreeSql.DataAnnotations.TableFluent`1.Navigate``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.String,System.Type)">
  533. <summary>
  534. 导航关系Fluent,与 NavigateAttribute 对应
  535. </summary>
  536. <typeparam name="TProto"></typeparam>
  537. <param name="proto"></param>
  538. <param name="bind"></param>
  539. <param name="manyToMany">多对多关系的中间实体类型</param>
  540. <returns></returns>
  541. </member>
  542. <member name="M:FreeSql.DataAnnotations.TableFluent`1.Index(System.String,System.String,System.Boolean)">
  543. <summary>
  544. 设置实体的索引
  545. </summary>
  546. <param name="name">索引名</param>
  547. <param name="fields">索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC</param>
  548. <param name="isUnique">是否唯一</param>
  549. <returns></returns>
  550. </member>
  551. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Table">
  552. <summary>
  553. 所属表
  554. </summary>
  555. </member>
  556. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Name">
  557. <summary>
  558. 列名
  559. </summary>
  560. </member>
  561. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.CsType">
  562. <summary>
  563. 映射到 C# 类型
  564. </summary>
  565. </member>
  566. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.DbType">
  567. <summary>
  568. 数据库枚举类型int值
  569. </summary>
  570. </member>
  571. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.DbTypeText">
  572. <summary>
  573. 数据库类型,字符串,varchar
  574. </summary>
  575. </member>
  576. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.DbTypeTextFull">
  577. <summary>
  578. 数据库类型,字符串,varchar(255)
  579. </summary>
  580. </member>
  581. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.MaxLength">
  582. <summary>
  583. 最大长度
  584. </summary>
  585. </member>
  586. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.IsPrimary">
  587. <summary>
  588. 主键
  589. </summary>
  590. </member>
  591. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.IsIdentity">
  592. <summary>
  593. 自增标识
  594. </summary>
  595. </member>
  596. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.IsNullable">
  597. <summary>
  598. 是否可DBNull
  599. </summary>
  600. </member>
  601. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Coment">
  602. <summary>
  603. 备注,早期编码时少按了一个字母,请使用 Comment
  604. </summary>
  605. </member>
  606. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Comment">
  607. <summary>
  608. 备注
  609. </summary>
  610. </member>
  611. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.DefaultValue">
  612. <summary>
  613. 数据库默认值
  614. </summary>
  615. </member>
  616. <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Position">
  617. <summary>
  618. 字段位置
  619. </summary>
  620. </member>
  621. <member name="P:FreeSql.DatabaseModel.DbEnumInfo.Name">
  622. <summary>
  623. 枚举类型标识
  624. </summary>
  625. </member>
  626. <member name="P:FreeSql.DatabaseModel.DbEnumInfo.Labels">
  627. <summary>
  628. 枚举项
  629. </summary>
  630. </member>
  631. <member name="P:FreeSql.DatabaseModel.DbTableInfo.Id">
  632. <summary>
  633. 唯一标识
  634. </summary>
  635. </member>
  636. <member name="P:FreeSql.DatabaseModel.DbTableInfo.Schema">
  637. <summary>
  638. SqlServer下是Owner、PostgreSQL下是Schema、MySql下是数据库名
  639. </summary>
  640. </member>
  641. <member name="P:FreeSql.DatabaseModel.DbTableInfo.Name">
  642. <summary>
  643. 表名
  644. </summary>
  645. </member>
  646. <member name="P:FreeSql.DatabaseModel.DbTableInfo.Comment">
  647. <summary>
  648. 表备注,SqlServer下是扩展属性 MS_Description
  649. </summary>
  650. </member>
  651. <member name="P:FreeSql.DatabaseModel.DbTableInfo.Type">
  652. <summary>
  653. 表/视图
  654. </summary>
  655. </member>
  656. <member name="P:FreeSql.DatabaseModel.DbTableInfo.Columns">
  657. <summary>
  658. </summary>
  659. </member>
  660. <member name="P:FreeSql.DatabaseModel.DbTableInfo.Identitys">
  661. <summary>
  662. 自增列
  663. </summary>
  664. </member>
  665. <member name="P:FreeSql.DatabaseModel.DbTableInfo.Primarys">
  666. <summary>
  667. 主键/组合
  668. </summary>
  669. </member>
  670. <member name="P:FreeSql.DatabaseModel.DbTableInfo.UniquesDict">
  671. <summary>
  672. 唯一键/组合
  673. </summary>
  674. </member>
  675. <member name="P:FreeSql.DatabaseModel.DbTableInfo.IndexesDict">
  676. <summary>
  677. 索引/组合
  678. </summary>
  679. </member>
  680. <member name="P:FreeSql.DatabaseModel.DbTableInfo.ForeignsDict">
  681. <summary>
  682. 外键
  683. </summary>
  684. </member>
  685. <member name="P:FreeSql.DatabaseModel.DbTypeInfo.Name">
  686. <summary>
  687. 类型标识
  688. </summary>
  689. </member>
  690. <member name="P:FreeSql.DatabaseModel.DbTypeInfo.Labels">
  691. <summary>
  692. 枚举项
  693. </summary>
  694. </member>
  695. <member name="F:FreeSql.DataType.Odbc">
  696. <summary>
  697. 通用的 Odbc 实现,只能做基本的 Crud 操作 <para></para>
  698. 不支持实体结构迁移、不支持分页(只能 Take 查询) <para></para>
  699. 通用实现为了让用户自己适配更多的数据库,比如连接 mssql 2000、db2 等数据库<para></para>
  700. 默认适配 SqlServer,可以继承后重新适配 FreeSql.Odbc.Default.OdbcAdapter,最好去看下代码 <para></para>
  701. 适配新的 OdbcAdapter,请在 FreeSqlBuilder.Build 之后调用 IFreeSql.SetOdbcAdapter 方法设置
  702. </summary>
  703. </member>
  704. <member name="F:FreeSql.DataType.OdbcDameng">
  705. <summary>
  706. 武汉达梦数据库有限公司,基于 Odbc 的实现
  707. </summary>
  708. </member>
  709. <member name="F:FreeSql.DataType.MsAccess">
  710. <summary>
  711. Microsoft Office Access 是由微软发布的关联式数据库管理系统
  712. </summary>
  713. </member>
  714. <member name="F:FreeSql.DataType.Dameng">
  715. <summary>
  716. 武汉达梦数据库有限公司,基于 DmProvider.dll 的实现
  717. </summary>
  718. </member>
  719. <member name="F:FreeSql.DataType.OdbcKingbaseES">
  720. <summary>
  721. 北京人大金仓信息技术股份有限公司,基于 Odbc 的实现
  722. </summary>
  723. </member>
  724. <member name="F:FreeSql.DataType.ShenTong">
  725. <summary>
  726. 天津神舟通用数据技术有限公司,基于 System.Data.OscarClient.dll 的实现
  727. </summary>
  728. </member>
  729. <member name="F:FreeSql.DataType.KingbaseES">
  730. <summary>
  731. 北京人大金仓信息技术股份有限公司,基于 Kdbndp.dll 的实现
  732. </summary>
  733. </member>
  734. <member name="F:FreeSql.DataType.Firebird">
  735. <summary>
  736. Firebird 是一个跨平台的关系数据库,能作为多用户环境下的数据库服务器运行,也提供嵌入式数据库的实现
  737. </summary>
  738. </member>
  739. <member name="F:FreeSql.DataType.Custom">
  740. <summary>
  741. 自定义适配器,访问任何数据库<para></para>
  742. 注意:该类型不提供 DbFirst/CodeFirst 功能
  743. </summary>
  744. </member>
  745. <member name="F:FreeSql.DataType.GBase">
  746. <summary>
  747. 天津南大通用数据技术股份有限公司成立于2004年,是国产数据库、大数据领域的知名企业,基于 Odbc 的实现
  748. </summary>
  749. </member>
  750. <member name="F:FreeSql.DataType.Xugu">
  751. <summary>
  752. 虚谷
  753. </summary>
  754. </member>
  755. <member name="M:FreeSql.AdoNetExtensions.GetIFreeSql(System.Data.IDbConnection)">
  756. <summary>
  757. 获取 IDbConnection 对应的 IFreeSql 实例
  758. </summary>
  759. <param name="that"></param>
  760. <returns></returns>
  761. </member>
  762. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection)">
  763. <summary>
  764. 插入数据
  765. </summary>
  766. <typeparam name="T1"></typeparam>
  767. <returns></returns>
  768. </member>
  769. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection,``0)">
  770. <summary>
  771. 插入数据,传入实体
  772. </summary>
  773. <typeparam name="T1"></typeparam>
  774. <param name="that"></param>
  775. <param name="source"></param>
  776. <returns></returns>
  777. </member>
  778. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection,``0[])">
  779. <summary>
  780. 插入数据,传入实体数组
  781. </summary>
  782. <typeparam name="T1"></typeparam>
  783. <param name="that"></param>
  784. <param name="source"></param>
  785. <returns></returns>
  786. </member>
  787. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection,System.Collections.Generic.List{``0})">
  788. <summary>
  789. 插入数据,传入实体集合
  790. </summary>
  791. <typeparam name="T1"></typeparam>
  792. <param name="that"></param>
  793. <param name="source"></param>
  794. <returns></returns>
  795. </member>
  796. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection,System.Collections.Generic.IEnumerable{``0})">
  797. <summary>
  798. 插入数据,传入实体集合
  799. </summary>
  800. <typeparam name="T1"></typeparam>
  801. <param name="that"></param>
  802. <param name="source"></param>
  803. <returns></returns>
  804. </member>
  805. <member name="M:FreeSql.AdoNetExtensions.InsertOrUpdate``1(System.Data.IDbConnection)">
  806. <summary>
  807. 插入或更新数据,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
  808. MySql 5.6+: on duplicate key update<para></para>
  809. PostgreSQL 9.4+: on conflict do update<para></para>
  810. SqlServer 2008+: merge into<para></para>
  811. Oracle 11+: merge into<para></para>
  812. Sqlite: replace into<para></para>
  813. Firebird: merge into<para></para>
  814. 达梦: merge into<para></para>
  815. 人大金仓:on conflict do update<para></para>
  816. 神通:merge into<para></para>
  817. MsAccess:不支持<para></para>
  818. 注意区别:FreeSql.Repository 仓储也有 InsertOrUpdate 方法(不依赖数据库特性)
  819. </summary>
  820. <typeparam name="T1"></typeparam>
  821. <param name="that"></param>
  822. <returns></returns>
  823. </member>
  824. <member name="M:FreeSql.AdoNetExtensions.Update``1(System.Data.IDbConnection)">
  825. <summary>
  826. 修改数据
  827. </summary>
  828. <typeparam name="T1"></typeparam>
  829. <param name="that"></param>
  830. <returns></returns>
  831. </member>
  832. <member name="M:FreeSql.AdoNetExtensions.Update``1(System.Data.IDbConnection,System.Object)">
  833. <summary>
  834. 修改数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  835. </summary>
  836. <typeparam name="T1"></typeparam>
  837. <param name="that"></param>
  838. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  839. <returns></returns>
  840. </member>
  841. <member name="M:FreeSql.AdoNetExtensions.Select``1(System.Data.IDbConnection)">
  842. <summary>
  843. 查询数据
  844. </summary>
  845. <typeparam name="T1"></typeparam>
  846. <param name="that"></param>
  847. <returns></returns>
  848. </member>
  849. <member name="M:FreeSql.AdoNetExtensions.Select``1(System.Data.IDbConnection,System.Object)">
  850. <summary>
  851. 查询数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  852. </summary>
  853. <typeparam name="T1"></typeparam>
  854. <param name="that"></param>
  855. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  856. <returns></returns>
  857. </member>
  858. <member name="M:FreeSql.AdoNetExtensions.Delete``1(System.Data.IDbConnection)">
  859. <summary>
  860. 删除数据
  861. </summary>
  862. <typeparam name="T1"></typeparam>
  863. <param name="that"></param>
  864. <returns></returns>
  865. </member>
  866. <member name="M:FreeSql.AdoNetExtensions.Delete``1(System.Data.IDbConnection,System.Object)">
  867. <summary>
  868. 删除数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  869. </summary>
  870. <typeparam name="T1"></typeparam>
  871. <param name="that"></param>
  872. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  873. <returns></returns>
  874. </member>
  875. <member name="M:FreeSql.AdoNetExtensions.Select``2(System.Data.IDbConnection)">
  876. <summary>
  877. 多表查询
  878. </summary>
  879. <param name="that"></param>
  880. <returns></returns>
  881. </member>
  882. <member name="M:FreeSql.AdoNetExtensions.Select``3(System.Data.IDbConnection)">
  883. <summary>
  884. 多表查询
  885. </summary>
  886. <param name="that"></param>
  887. <returns></returns>
  888. </member>
  889. <member name="M:FreeSql.AdoNetExtensions.Select``4(System.Data.IDbConnection)">
  890. <summary>
  891. 多表查询
  892. </summary>
  893. <param name="that"></param>
  894. <returns></returns>
  895. </member>
  896. <member name="M:FreeSql.AdoNetExtensions.Select``5(System.Data.IDbConnection)">
  897. <summary>
  898. 多表查询
  899. </summary>
  900. <param name="that"></param>
  901. <returns></returns>
  902. </member>
  903. <member name="M:FreeSql.AdoNetExtensions.Select``6(System.Data.IDbConnection)">
  904. <summary>
  905. 多表查询
  906. </summary>
  907. <param name="that"></param>
  908. <returns></returns>
  909. </member>
  910. <member name="M:FreeSql.AdoNetExtensions.Select``7(System.Data.IDbConnection)">
  911. <summary>
  912. 多表查询
  913. </summary>
  914. <param name="that"></param>
  915. <returns></returns>
  916. </member>
  917. <member name="M:FreeSql.AdoNetExtensions.Select``8(System.Data.IDbConnection)">
  918. <summary>
  919. 多表查询
  920. </summary>
  921. <param name="that"></param>
  922. <returns></returns>
  923. </member>
  924. <member name="M:FreeSql.AdoNetExtensions.Select``9(System.Data.IDbConnection)">
  925. <summary>
  926. 多表查询
  927. </summary>
  928. <param name="that"></param>
  929. <returns></returns>
  930. </member>
  931. <member name="M:FreeSql.AdoNetExtensions.Select``10(System.Data.IDbConnection)">
  932. <summary>
  933. 多表查询
  934. </summary>
  935. <param name="that"></param>
  936. <returns></returns>
  937. </member>
  938. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction)">
  939. <summary>
  940. 插入数据
  941. </summary>
  942. <typeparam name="T1"></typeparam>
  943. <returns></returns>
  944. </member>
  945. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction,``0)">
  946. <summary>
  947. 插入数据,传入实体
  948. </summary>
  949. <typeparam name="T1"></typeparam>
  950. <param name="that"></param>
  951. <param name="source"></param>
  952. <returns></returns>
  953. </member>
  954. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction,``0[])">
  955. <summary>
  956. 插入数据,传入实体数组
  957. </summary>
  958. <typeparam name="T1"></typeparam>
  959. <param name="that"></param>
  960. <param name="source"></param>
  961. <returns></returns>
  962. </member>
  963. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction,System.Collections.Generic.List{``0})">
  964. <summary>
  965. 插入数据,传入实体集合
  966. </summary>
  967. <typeparam name="T1"></typeparam>
  968. <param name="that"></param>
  969. <param name="source"></param>
  970. <returns></returns>
  971. </member>
  972. <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction,System.Collections.Generic.IEnumerable{``0})">
  973. <summary>
  974. 插入数据,传入实体集合
  975. </summary>
  976. <typeparam name="T1"></typeparam>
  977. <param name="that"></param>
  978. <param name="source"></param>
  979. <returns></returns>
  980. </member>
  981. <member name="M:FreeSql.AdoNetExtensions.InsertOrUpdate``1(System.Data.IDbTransaction)">
  982. <summary>
  983. 插入或更新数据,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
  984. MySql 5.6+: on duplicate key update<para></para>
  985. PostgreSQL 9.4+: on conflict do update<para></para>
  986. SqlServer 2008+: merge into<para></para>
  987. Oracle 11+: merge into<para></para>
  988. Sqlite: replace into<para></para>
  989. 达梦: merge into<para></para>
  990. 人大金仓:on conflict do update<para></para>
  991. 神通:merge into<para></para>
  992. MsAccess:不支持<para></para>
  993. 注意区别:FreeSql.Repository 仓储也有 InsertOrUpdate 方法(不依赖数据库特性)
  994. </summary>
  995. <typeparam name="T1"></typeparam>
  996. <param name="that"></param>
  997. <returns></returns>
  998. </member>
  999. <member name="M:FreeSql.AdoNetExtensions.Update``1(System.Data.IDbTransaction)">
  1000. <summary>
  1001. 修改数据
  1002. </summary>
  1003. <typeparam name="T1"></typeparam>
  1004. <param name="that"></param>
  1005. <returns></returns>
  1006. </member>
  1007. <member name="M:FreeSql.AdoNetExtensions.Update``1(System.Data.IDbTransaction,System.Object)">
  1008. <summary>
  1009. 修改数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  1010. </summary>
  1011. <typeparam name="T1"></typeparam>
  1012. <param name="that"></param>
  1013. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  1014. <returns></returns>
  1015. </member>
  1016. <member name="M:FreeSql.AdoNetExtensions.Select``1(System.Data.IDbTransaction)">
  1017. <summary>
  1018. 查询数据
  1019. </summary>
  1020. <typeparam name="T1"></typeparam>
  1021. <param name="that"></param>
  1022. <returns></returns>
  1023. </member>
  1024. <member name="M:FreeSql.AdoNetExtensions.Select``1(System.Data.IDbTransaction,System.Object)">
  1025. <summary>
  1026. 查询数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  1027. </summary>
  1028. <typeparam name="T1"></typeparam>
  1029. <param name="that"></param>
  1030. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  1031. <returns></returns>
  1032. </member>
  1033. <member name="M:FreeSql.AdoNetExtensions.Delete``1(System.Data.IDbTransaction)">
  1034. <summary>
  1035. 删除数据
  1036. </summary>
  1037. <typeparam name="T1"></typeparam>
  1038. <param name="that"></param>
  1039. <returns></returns>
  1040. </member>
  1041. <member name="M:FreeSql.AdoNetExtensions.Delete``1(System.Data.IDbTransaction,System.Object)">
  1042. <summary>
  1043. 删除数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  1044. </summary>
  1045. <typeparam name="T1"></typeparam>
  1046. <param name="that"></param>
  1047. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  1048. <returns></returns>
  1049. </member>
  1050. <member name="M:FreeSql.AdoNetExtensions.Select``2(System.Data.IDbTransaction)">
  1051. <summary>
  1052. 多表查询
  1053. </summary>
  1054. <returns></returns>
  1055. </member>
  1056. <member name="M:FreeSql.AdoNetExtensions.Select``3(System.Data.IDbTransaction)">
  1057. <summary>
  1058. 多表查询
  1059. </summary>
  1060. <returns></returns>
  1061. </member>
  1062. <member name="M:FreeSql.AdoNetExtensions.Select``4(System.Data.IDbTransaction)">
  1063. <summary>
  1064. 多表查询
  1065. </summary>
  1066. <returns></returns>
  1067. </member>
  1068. <member name="M:FreeSql.AdoNetExtensions.Select``5(System.Data.IDbTransaction)">
  1069. <summary>
  1070. 多表查询
  1071. </summary>
  1072. <returns></returns>
  1073. </member>
  1074. <member name="M:FreeSql.AdoNetExtensions.Select``6(System.Data.IDbTransaction)">
  1075. <summary>
  1076. 多表查询
  1077. </summary>
  1078. <returns></returns>
  1079. </member>
  1080. <member name="M:FreeSql.AdoNetExtensions.Select``7(System.Data.IDbTransaction)">
  1081. <summary>
  1082. 多表查询
  1083. </summary>
  1084. <returns></returns>
  1085. </member>
  1086. <member name="M:FreeSql.AdoNetExtensions.Select``8(System.Data.IDbTransaction)">
  1087. <summary>
  1088. 多表查询
  1089. </summary>
  1090. <returns></returns>
  1091. </member>
  1092. <member name="M:FreeSql.AdoNetExtensions.Select``9(System.Data.IDbTransaction)">
  1093. <summary>
  1094. 多表查询
  1095. </summary>
  1096. <returns></returns>
  1097. </member>
  1098. <member name="M:FreeSql.AdoNetExtensions.Select``10(System.Data.IDbTransaction)">
  1099. <summary>
  1100. 多表查询
  1101. </summary>
  1102. <returns></returns>
  1103. </member>
  1104. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityKeyString(IFreeSql,System.Type,System.Object,System.Boolean,System.String)">
  1105. <summary>
  1106. 获取实体的主键值,以 "*|_,[,_|*" 分割,当任意一个主键属性无值时,返回 ""
  1107. </summary>
  1108. <param name="orm"></param>
  1109. <param name="entityType"></param>
  1110. <param name="entity"></param>
  1111. <param name="genGuid">当Guid无值时,会生成有序的新值</param>
  1112. <param name="splitString"></param>
  1113. <returns></returns>
  1114. </member>
  1115. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityKeyValues(IFreeSql,System.Type,System.Object)">
  1116. <summary>
  1117. 获取实体的主键值,多个主键返回数组
  1118. </summary>
  1119. <param name="orm"></param>
  1120. <param name="entityType"></param>
  1121. <param name="entity"></param>
  1122. <returns></returns>
  1123. </member>
  1124. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityValueWithPropertyName(IFreeSql,System.Type,System.Object,System.String)">
  1125. <summary>
  1126. 获取实体的属性值
  1127. </summary>
  1128. <param name="orm"></param>
  1129. <param name="entityType"></param>
  1130. <param name="entity"></param>
  1131. <param name="propertyName"></param>
  1132. <returns></returns>
  1133. </member>
  1134. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityString(IFreeSql,System.Type,System.Object)">
  1135. <summary>
  1136. 获取实体的所有数据,以 (1, 2, xxx) 的形式
  1137. </summary>
  1138. <param name="orm"></param>
  1139. <param name="entityType"></param>
  1140. <param name="entity"></param>
  1141. <returns></returns>
  1142. </member>
  1143. <member name="F:FreeSql.Extensions.EntityUtil.EntityUtilExtensions._dicMapEntityValue">
  1144. <summary>
  1145. 使用新实体的值,复盖旧实体的值
  1146. </summary>
  1147. </member>
  1148. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.MapEntityKeyValue(IFreeSql,System.Type,System.Object,System.Object)">
  1149. <summary>
  1150. 使用新实体的主键值,复盖旧实体的主键值
  1151. </summary>
  1152. </member>
  1153. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.SetEntityIdentityValueWithPrimary(IFreeSql,System.Type,System.Object,System.Int64)">
  1154. <summary>
  1155. 设置实体中主键内的自增字段值(若存在)
  1156. </summary>
  1157. <param name="orm"></param>
  1158. <param name="entityType"></param>
  1159. <param name="entity"></param>
  1160. <param name="idtval"></param>
  1161. </member>
  1162. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityIdentityValueWithPrimary(IFreeSql,System.Type,System.Object)">
  1163. <summary>
  1164. 获取实体中主键内的自增字段值(若存在)
  1165. </summary>
  1166. <param name="orm"></param>
  1167. <param name="entityType"></param>
  1168. <param name="entity"></param>
  1169. </member>
  1170. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.ClearEntityPrimaryValueWithIdentityAndGuid(IFreeSql,System.Type,System.Object)">
  1171. <summary>
  1172. 清除实体的主键值,将自增、Guid类型的主键值清除
  1173. </summary>
  1174. <param name="orm"></param>
  1175. <param name="entityType"></param>
  1176. <param name="entity"></param>
  1177. </member>
  1178. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.ClearEntityPrimaryValueWithIdentity(IFreeSql,System.Type,System.Object)">
  1179. <summary>
  1180. 清除实体的主键值,将自增、Guid类型的主键值清除
  1181. </summary>
  1182. <param name="orm"></param>
  1183. <param name="entityType"></param>
  1184. <param name="entity"></param>
  1185. </member>
  1186. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.CompareEntityValueReturnColumns(IFreeSql,System.Type,System.Object,System.Object,System.Boolean)">
  1187. <summary>
  1188. 对比两个实体值,返回相同/或不相同的列名
  1189. </summary>
  1190. <param name="orm"></param>
  1191. <param name="entityType"></param>
  1192. <param name="entity1"></param>
  1193. <param name="entity2"></param>
  1194. <param name="isEqual"></param>
  1195. <returns></returns>
  1196. </member>
  1197. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.SetEntityIncrByWithPropertyName(IFreeSql,System.Type,System.Object,System.String,System.Int32)">
  1198. <summary>
  1199. 设置实体中某属性的数值增加指定的值
  1200. </summary>
  1201. <param name="orm"></param>
  1202. <param name="entityType"></param>
  1203. <param name="entity"></param>
  1204. <param name="propertyName"></param>
  1205. <param name="incrBy"></param>
  1206. </member>
  1207. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.SetEntityValueWithPropertyName(IFreeSql,System.Type,System.Object,System.String,System.Object)">
  1208. <summary>
  1209. 设置实体中某属性的值
  1210. </summary>
  1211. <param name="orm"></param>
  1212. <param name="entityType"></param>
  1213. <param name="entity"></param>
  1214. <param name="propertyName"></param>
  1215. <param name="value"></param>
  1216. </member>
  1217. <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.AppendEntityUpdateSetWithColumn``1(FreeSql.IUpdate{``0},System.Type,System.Linq.Expressions.LambdaExpression)">
  1218. <summary>
  1219. 缓存执行 IUpdate.Set
  1220. </summary>
  1221. <typeparam name="TEntity"></typeparam>
  1222. <param name="update"></param>
  1223. <param name="columnType"></param>
  1224. <param name="setExp"></param>
  1225. </member>
  1226. <member name="T:FreeSql.SqlExt">
  1227. <summary>
  1228. SqlExt 是利用自定表达式函数解析功能,解析默认常用的SQL函数,欢迎 PR
  1229. </summary>
  1230. </member>
  1231. <member name="M:FreeSql.SqlExt.Rank">
  1232. <summary>
  1233. rank() over(order by ...)
  1234. </summary>
  1235. <returns></returns>
  1236. </member>
  1237. <member name="M:FreeSql.SqlExt.DenseRank">
  1238. <summary>
  1239. dense_rank() over(order by ...)
  1240. </summary>
  1241. <returns></returns>
  1242. </member>
  1243. <member name="M:FreeSql.SqlExt.Count(System.Object)">
  1244. <summary>
  1245. count() over(order by ...)
  1246. </summary>
  1247. <returns></returns>
  1248. </member>
  1249. <member name="M:FreeSql.SqlExt.Sum(System.Object)">
  1250. <summary>
  1251. sum(..) over(order by ...)
  1252. </summary>
  1253. <param name="column"></param>
  1254. <returns></returns>
  1255. </member>
  1256. <member name="M:FreeSql.SqlExt.Avg(System.Object)">
  1257. <summary>
  1258. avg(..) over(order by ...)
  1259. </summary>
  1260. <returns></returns>
  1261. </member>
  1262. <member name="M:FreeSql.SqlExt.Max``1(``0)">
  1263. <summary>
  1264. max(..) over(order by ...)
  1265. </summary>
  1266. <typeparam name="T"></typeparam>
  1267. <param name="column"></param>
  1268. <returns></returns>
  1269. </member>
  1270. <member name="M:FreeSql.SqlExt.Min``1(``0)">
  1271. <summary>
  1272. min(..) over(order by ...)
  1273. </summary>
  1274. <typeparam name="T"></typeparam>
  1275. <param name="column"></param>
  1276. <returns></returns>
  1277. </member>
  1278. <member name="M:FreeSql.SqlExt.RowNumber">
  1279. <summary>
  1280. SqlServer row_number() over(order by ...)
  1281. </summary>
  1282. <returns></returns>
  1283. </member>
  1284. <member name="M:FreeSql.SqlExt.IsNull``1(``0,``0)">
  1285. <summary>
  1286. isnull、ifnull、coalesce、nvl
  1287. </summary>
  1288. <typeparam name="TValue"></typeparam>
  1289. <param name="value"></param>
  1290. <param name="defaultValue"></param>
  1291. <returns></returns>
  1292. </member>
  1293. <member name="M:FreeSql.SqlExt.DistinctCount``1(``0)">
  1294. <summary>
  1295. count(distinct name)
  1296. </summary>
  1297. <typeparam name="T"></typeparam>
  1298. <param name="column"></param>
  1299. <returns></returns>
  1300. </member>
  1301. <member name="M:FreeSql.SqlExt.InternalRawSql(System.String)">
  1302. <summary>
  1303. 注意:使用者自己承担【注入风险】
  1304. </summary>
  1305. <param name="sql"></param>
  1306. <returns></returns>
  1307. </member>
  1308. <member name="M:FreeSql.SqlExt.GreaterThan``1(``0,``0)">
  1309. <summary>
  1310. 大于 &gt;
  1311. </summary>
  1312. <returns></returns>
  1313. </member>
  1314. <member name="M:FreeSql.SqlExt.GreaterThanOrEqual``1(``0,``0)">
  1315. <summary>
  1316. 大于或等于 &gt;=
  1317. </summary>
  1318. <returns></returns>
  1319. </member>
  1320. <member name="M:FreeSql.SqlExt.LessThan``1(``0,``0)">
  1321. <summary>
  1322. 小于 &lt;
  1323. </summary>
  1324. <returns></returns>
  1325. </member>
  1326. <member name="M:FreeSql.SqlExt.LessThanOrEqual``1(``0,``0)">
  1327. <summary>
  1328. 小于或等于 &lt;=
  1329. </summary>
  1330. <returns></returns>
  1331. </member>
  1332. <member name="M:FreeSql.SqlExt.EqualIsNull``1(``0)">
  1333. <summary>
  1334. value1 IS NULL
  1335. </summary>
  1336. <typeparam name="TValue"></typeparam>
  1337. <param name="value1"></param>
  1338. <returns></returns>
  1339. </member>
  1340. <member name="M:FreeSql.SqlExt.Case">
  1341. <summary>
  1342. case when .. then .. end
  1343. </summary>
  1344. <returns></returns>
  1345. </member>
  1346. <member name="M:FreeSql.SqlExt.CaseDict``2(``0,System.Collections.Generic.Dictionary{``0,``1})">
  1347. <summary>
  1348. case when .. then .. end
  1349. </summary>
  1350. <typeparam name="TInput"></typeparam>
  1351. <typeparam name="TOutput"></typeparam>
  1352. <param name="input"></param>
  1353. <param name="dict"></param>
  1354. <returns></returns>
  1355. </member>
  1356. <member name="M:FreeSql.SqlExt.GroupConcat(System.Object)">
  1357. <summary>
  1358. MySql group_concat(distinct .. order by .. separator ..)
  1359. </summary>
  1360. <param name="column"></param>
  1361. <returns></returns>
  1362. </member>
  1363. <member name="M:FreeSql.SqlExt.FindInSet``1(``0,System.String)">
  1364. <summary>
  1365. MySql find_in_set(str, strlist)
  1366. </summary>
  1367. <typeparam name="TValue"></typeparam>
  1368. <param name="str"></param>
  1369. <param name="strlist"></param>
  1370. <returns></returns>
  1371. </member>
  1372. <member name="M:FreeSql.SqlExt.StringAgg(System.Object,System.Object)">
  1373. <summary>
  1374. PostgreSQL string_agg(.., ..)
  1375. </summary>
  1376. <param name="column"></param>
  1377. <param name="delimiter"></param>
  1378. <returns></returns>
  1379. </member>
  1380. <member name="M:FreeSql.FreeSqlBuilder.UseConnectionString(FreeSql.DataType,System.String,System.Type)">
  1381. <summary>
  1382. 使用连接串(推荐)
  1383. </summary>
  1384. <param name="dataType">数据库类型</param>
  1385. <param name="connectionString">数据库连接串</param>
  1386. <param name="providerType">提供者的类型,一般不需要指定,如果一直提示“缺少 FreeSql 数据库实现包:FreeSql.Provider.MySql.dll,可前往 nuget 下载”的错误,说明反射获取不到类型,此时该参数可排上用场<para></para>例如:typeof(FreeSql.SqlServer.SqlServerProvider&lt;&gt;)</param>
  1387. <returns></returns>
  1388. </member>
  1389. <member name="M:FreeSql.FreeSqlBuilder.UseCustomTableEntityCacheFactory(System.Func{System.Collections.Concurrent.ConcurrentDictionary{FreeSql.DataType,System.Collections.Concurrent.ConcurrentDictionary{System.Type,FreeSql.Internal.Model.TableInfo}}})">
  1390. <summary>
  1391. 用于指定自定义实现TableEntiy 的缓存集合
  1392. 解决多实例下相同类型映射到不同表的问题
  1393. </summary>
  1394. <param name="factory"></param>
  1395. <returns></returns>
  1396. </member>
  1397. <member name="M:FreeSql.FreeSqlBuilder.UseAdoConnectionPool(System.Boolean)">
  1398. <summary>
  1399. 使用原始连接池(ado.net、odbc、oledb)<para></para>
  1400. 默认:false<para></para>
  1401. UseConnectionString 默认使用 FreeSql 连接池,有以下特点:<para></para>
  1402. - 状态不可用,断熔机制直到后台检测恢复<para></para>
  1403. - 读写分离,从库不可用,会切换其他可用从库<para></para>
  1404. - 监测连接池使用情况,fsql.Ado.Statistics<para></para>
  1405. 有部分使用者不喜欢【断熔机制】,可使用此设置
  1406. </summary>
  1407. <param name="value"></param>
  1408. <returns></returns>
  1409. </member>
  1410. <member name="M:FreeSql.FreeSqlBuilder.UseSlave(System.String[])">
  1411. <summary>
  1412. 使用从数据库,支持多个
  1413. </summary>
  1414. <param name="slaveConnectionString">从数据库连接串</param>
  1415. <returns></returns>
  1416. </member>
  1417. <member name="M:FreeSql.FreeSqlBuilder.UseConnectionFactory(FreeSql.DataType,System.Func{System.Data.Common.DbConnection},System.Type)">
  1418. <summary>
  1419. 使用自定义数据库连接对象(放弃内置对象连接池技术)
  1420. </summary>
  1421. <param name="dataType">数据库类型</param>
  1422. <param name="connectionFactory">数据库连接对象创建器</param>
  1423. <param name="providerType">提供者的类型,一般不需要指定,如果一直提示“缺少 FreeSql 数据库实现包:FreeSql.Provider.MySql.dll,可前往 nuget 下载”的错误,说明反射获取不到类型,此时该参数可排上用场<para></para>例如:typeof(FreeSql.SqlServer.SqlServerProvider&lt;&gt;)</param>
  1424. <returns></returns>
  1425. </member>
  1426. <member name="M:FreeSql.FreeSqlBuilder.UseAutoSyncStructure(System.Boolean)">
  1427. <summary>
  1428. 【开发环境必备】自动同步实体结构到数据库,程序运行中检查实体表是否存在,然后创建或修改<para></para>
  1429. 注意:生产环境中谨慎使用
  1430. </summary>
  1431. <param name="value">true:运行时检查自动同步结构, false:不同步结构(默认)</param>
  1432. <returns></returns>
  1433. </member>
  1434. <member name="M:FreeSql.FreeSqlBuilder.UseConfigEntityFromDbFirst(System.Boolean)">
  1435. <summary>
  1436. 将数据库的主键、自增、索引设置导入,适用 DbFirst 模式,无须在实体类型上设置 [Column(IsPrimary)] 或者 ConfigEntity。此功能目前可用于 mysql/sqlserver/postgresql/oracle。<para></para>
  1437. 本功能会影响 IFreeSql 首次访问的速度。<para></para>
  1438. 若使用 CodeFirst 创建索引后,又直接在数据库上建了索引,若无本功能下一次 CodeFirst 迁移时数据库上创建的索引将被删除
  1439. </summary>
  1440. <param name="value"></param>
  1441. <returns></returns>
  1442. </member>
  1443. <member name="M:FreeSql.FreeSqlBuilder.UseNoneCommandParameter(System.Boolean)">
  1444. <summary>
  1445. 不使用命令参数化执行,针对 Insert/Update,也可临时使用 IInsert/IUpdate.NoneParameter()
  1446. </summary>
  1447. <param name="value"></param>
  1448. <returns></returns>
  1449. </member>
  1450. <member name="M:FreeSql.FreeSqlBuilder.UseGenerateCommandParameterWithLambda(System.Boolean)">
  1451. <summary>
  1452. 是否生成命令参数化执行,针对 lambda 表达式解析<para></para>
  1453. 注意:常量不会参数化,变量才会做参数化<para></para>
  1454. var id = 100;
  1455. fsql.Select&lt;T&gt;().Where(a => a.id == id) 会参数化<para></para>
  1456. fsql.Select&lt;T&gt;().Where(a => a.id == 100) 不会参数化
  1457. </summary>
  1458. <param name="value"></param>
  1459. <returns></returns>
  1460. </member>
  1461. <member name="M:FreeSql.FreeSqlBuilder.UseLazyLoading(System.Boolean)">
  1462. <summary>
  1463. 延时加载导航属性对象,导航属性需要声明 virtual
  1464. </summary>
  1465. <param name="value"></param>
  1466. <returns></returns>
  1467. </member>
  1468. <member name="M:FreeSql.FreeSqlBuilder.UseMonitorCommand(System.Action{System.Data.Common.DbCommand},System.Action{System.Data.Common.DbCommand,System.String})">
  1469. <summary>
  1470. 监视数据库命令对象
  1471. </summary>
  1472. <param name="executing">执行前</param>
  1473. <param name="executed">执行后,可监视执行性能</param>
  1474. <returns></returns>
  1475. </member>
  1476. <member name="M:FreeSql.FreeSqlBuilder.UseNameConvert(FreeSql.Internal.NameConvertType)">
  1477. <summary>
  1478. 实体类名 -> 数据库表名,命名转换(类名、属性名都生效)<para></para>
  1479. 优先级小于 [Column(Name = "xxx")]
  1480. </summary>
  1481. <param name="convertType"></param>
  1482. <returns></returns>
  1483. </member>
  1484. <member name="M:FreeSql.FreeSqlBuilder.UseQuoteSqlName(System.Boolean)">
  1485. <summary>
  1486. SQL名称是否使用 [] `` ""<para></para>
  1487. true: SELECT .. FROM [table]<para></para>
  1488. false: SELECT .. FROM table
  1489. </summary>
  1490. <param name="value"></param>
  1491. <returns></returns>
  1492. </member>
  1493. <member name="M:FreeSql.FreeSqlBuilder.UseMappingPriority(FreeSql.Internal.MappingPriorityType,FreeSql.Internal.MappingPriorityType,FreeSql.Internal.MappingPriorityType)">
  1494. <summary>
  1495. 指定映射优先级(从小到大)<para></para>
  1496. 例如表名:实体类名 &lt; Aop &lt; FluentApi &lt; Attribute &lt; AsTable<para></para>
  1497. 事件 Aop -------> fsql.Aop.ConfigEntity/fsql.Aop.ConfigEntityProperty<para></para>
  1498. 方法 FluentApi -> fsql.CodeFirst.ConfigEntity/fsql.CodeFirst.Entity<para></para>
  1499. 特性 Attribute -> [Table(Name = xxx, ...)]<para></para>
  1500. -----------------------------------------------------------------------------<para></para>
  1501. 默认规则:关于映射优先级,Attribute 可以更直观排查问题,即使任何地方使用 FluentApi/Aop 设置 TableName 都不生效。<para></para>
  1502. 调整规则:UseMappingPriority(Attribute, FluentApi, Aop) <para></para>
  1503. 实体类名 &lt; Attribute &lt; FluentApi &lt; Aop &lt; AsTable
  1504. </summary>
  1505. <param name="mappingType1"></param>
  1506. <param name="mappingType2"></param>
  1507. <param name="mappingType3"></param>
  1508. <returns></returns>
  1509. <exception cref="T:System.ArgumentException"></exception>
  1510. </member>
  1511. <member name="M:FreeSql.FreeSqlBuilder.UseExitAutoDisposePool(System.Boolean)">
  1512. <summary>
  1513. 监听 AppDomain.CurrentDomain.ProcessExit/Console.CancelKeyPress 事件自动释放连接池<para></para>
  1514. 默认值: true
  1515. </summary>
  1516. <param name="value"></param>
  1517. <returns></returns>
  1518. </member>
  1519. <member name="M:FreeSql.IDelete`1.WithTransaction(System.Data.Common.DbTransaction)">
  1520. <summary>
  1521. 指定事务对象
  1522. </summary>
  1523. <param name="transaction"></param>
  1524. <returns></returns>
  1525. </member>
  1526. <member name="M:FreeSql.IDelete`1.WithConnection(System.Data.Common.DbConnection)">
  1527. <summary>
  1528. 指定事务对象
  1529. </summary>
  1530. <param name="connection"></param>
  1531. <returns></returns>
  1532. </member>
  1533. <member name="M:FreeSql.IDelete`1.CommandTimeout(System.Int32)">
  1534. <summary>
  1535. 命令超时设置(秒)
  1536. </summary>
  1537. <param name="timeout"></param>
  1538. <returns></returns>
  1539. </member>
  1540. <member name="M:FreeSql.IDelete`1.Where(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  1541. <summary>
  1542. lambda表达式条件,仅支持实体基础成员(不包含导航对象)<para></para>
  1543. 若想使用导航对象,请使用 ISelect.ToDelete() 方法
  1544. </summary>
  1545. <param name="exp">lambda表达式条件</param>
  1546. <returns></returns>
  1547. </member>
  1548. <member name="M:FreeSql.IDelete`1.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  1549. <summary>
  1550. lambda表达式条件,仅支持实体基础成员(不包含导航对象)<para></para>
  1551. 若想使用导航对象,请使用 ISelect.ToUpdate() 方法
  1552. </summary>
  1553. <param name="condition">true 时生效</param>
  1554. <param name="exp">lambda表达式条件</param>
  1555. <returns></returns>
  1556. </member>
  1557. <member name="M:FreeSql.IDelete`1.Where(System.String,System.Object)">
  1558. <summary>
  1559. 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
  1560. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  1561. </summary>
  1562. <param name="sql">sql语法条件</param>
  1563. <param name="parms">参数</param>
  1564. <returns></returns>
  1565. </member>
  1566. <member name="M:FreeSql.IDelete`1.WhereIf(System.Boolean,System.String,System.Object)">
  1567. <summary>
  1568. 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
  1569. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  1570. </summary>
  1571. <param name="condition">true 时生效</param>
  1572. <param name="sql">sql语法条件</param>
  1573. <param name="parms">参数</param>
  1574. <returns></returns>
  1575. </member>
  1576. <member name="M:FreeSql.IDelete`1.Where(`0)">
  1577. <summary>
  1578. 传入实体,将主键作为条件
  1579. </summary>
  1580. <param name="item">实体</param>
  1581. <returns></returns>
  1582. </member>
  1583. <member name="M:FreeSql.IDelete`1.Where(System.Collections.Generic.IEnumerable{`0})">
  1584. <summary>
  1585. 传入实体集合,将主键作为条件
  1586. </summary>
  1587. <param name="items">实体集合</param>
  1588. <returns></returns>
  1589. </member>
  1590. <member name="M:FreeSql.IDelete`1.WhereDynamic(System.Object,System.Boolean)">
  1591. <summary>
  1592. 传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  1593. </summary>
  1594. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  1595. <param name="not">是否标识为NOT</param>
  1596. <returns></returns>
  1597. </member>
  1598. <member name="M:FreeSql.IDelete`1.WhereDynamicFilter(FreeSql.Internal.Model.DynamicFilterInfo)">
  1599. <summary>
  1600. 动态过滤条件
  1601. </summary>
  1602. <param name="filter"></param>
  1603. <returns></returns>
  1604. </member>
  1605. <member name="M:FreeSql.IDelete`1.DisableGlobalFilter(System.String[])">
  1606. <summary>
  1607. 禁用全局过滤功能,不传参数时将禁用所有
  1608. </summary>
  1609. <param name="name">零个或多个过滤器名字</param>
  1610. <returns></returns>
  1611. </member>
  1612. <member name="M:FreeSql.IDelete`1.AsTable(System.Func{System.String,System.String})">
  1613. <summary>
  1614. 设置表名规则,可用于分库/分表,参数1:默认表名;返回值:新表名;
  1615. </summary>
  1616. <param name="tableRule"></param>
  1617. <returns></returns>
  1618. </member>
  1619. <member name="M:FreeSql.IDelete`1.AsTable(System.String)">
  1620. <summary>
  1621. 设置表名
  1622. </summary>
  1623. <param name="tableName"></param>
  1624. <returns></returns>
  1625. </member>
  1626. <member name="M:FreeSql.IDelete`1.AsType(System.Type)">
  1627. <summary>
  1628. 动态Type,在使用 Delete&lt;object&gt; 后使用本方法,指定实体类型
  1629. </summary>
  1630. <param name="entityType"></param>
  1631. <returns></returns>
  1632. </member>
  1633. <member name="M:FreeSql.IDelete`1.ToSql">
  1634. <summary>
  1635. 返回即将执行的SQL语句
  1636. </summary>
  1637. <returns></returns>
  1638. </member>
  1639. <member name="M:FreeSql.IDelete`1.ExecuteAffrows">
  1640. <summary>
  1641. 执行SQL语句,返回影响的行数
  1642. </summary>
  1643. <returns></returns>
  1644. </member>
  1645. <member name="M:FreeSql.IDelete`1.ExecuteDeleted">
  1646. <summary>
  1647. 执行SQL语句,返回被删除的记录<para></para>
  1648. 注意:此方法只有 Postgresql/SqlServer 有效果
  1649. </summary>
  1650. <returns></returns>
  1651. </member>
  1652. <member name="M:FreeSql.IInsert`1.WithTransaction(System.Data.Common.DbTransaction)">
  1653. <summary>
  1654. 指定事务对象
  1655. </summary>
  1656. <param name="transaction"></param>
  1657. <returns></returns>
  1658. </member>
  1659. <member name="M:FreeSql.IInsert`1.WithConnection(System.Data.Common.DbConnection)">
  1660. <summary>
  1661. 指定事务对象
  1662. </summary>
  1663. <param name="connection"></param>
  1664. <returns></returns>
  1665. </member>
  1666. <member name="M:FreeSql.IInsert`1.CommandTimeout(System.Int32)">
  1667. <summary>
  1668. 命令超时设置(秒)
  1669. </summary>
  1670. <param name="timeout"></param>
  1671. <returns></returns>
  1672. </member>
  1673. <member name="M:FreeSql.IInsert`1.AppendData(`0)">
  1674. <summary>
  1675. 追加准备插入的实体
  1676. </summary>
  1677. <param name="source">实体</param>
  1678. <returns></returns>
  1679. </member>
  1680. <member name="M:FreeSql.IInsert`1.AppendData(`0[])">
  1681. <summary>
  1682. 追加准备插入的实体
  1683. </summary>
  1684. <param name="source">实体</param>
  1685. <returns></returns>
  1686. </member>
  1687. <member name="M:FreeSql.IInsert`1.AppendData(System.Collections.Generic.IEnumerable{`0})">
  1688. <summary>
  1689. 追加准备插入的实体集合
  1690. </summary>
  1691. <param name="source">实体集合</param>
  1692. <returns></returns>
  1693. </member>
  1694. <member name="M:FreeSql.IInsert`1.InsertColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
  1695. <summary>
  1696. 只插入的列,InsertColumns(a => a.Name) | InsertColumns(a => new{a.Name,a.Time}) | InsertColumns(a => new[]{"name","time"})
  1697. </summary>
  1698. <param name="columns">lambda选择列</param>
  1699. <returns></returns>
  1700. </member>
  1701. <member name="M:FreeSql.IInsert`1.InsertColumns(System.String[])">
  1702. <summary>
  1703. 只插入的列
  1704. </summary>
  1705. <param name="columns">属性名,或者字段名</param>
  1706. <returns></returns>
  1707. </member>
  1708. <member name="M:FreeSql.IInsert`1.IgnoreColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
  1709. <summary>
  1710. 忽略的列,IgnoreColumns(a => a.Name) | IgnoreColumns(a => new{a.Name,a.Time}) | IgnoreColumns(a => new[]{"name","time"})
  1711. </summary>
  1712. <param name="columns">lambda选择列</param>
  1713. <returns></returns>
  1714. </member>
  1715. <member name="M:FreeSql.IInsert`1.IgnoreColumns(System.String[])">
  1716. <summary>
  1717. 忽略的列
  1718. </summary>
  1719. <param name="columns">属性名,或者字段名</param>
  1720. <returns></returns>
  1721. </member>
  1722. <member name="M:FreeSql.IInsert`1.IgnoreInsertValueSql(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
  1723. <summary>
  1724. 忽略 InsertValueSql 设置,将使用实体对象的值插入<para></para>
  1725. IgnoreInsertValueSql(a => a.Name) | IgnoreInsertValueSql(a => new{a.Name,a.Time}) | IgnoreInsertValueSql(a => new[]{"name","time"})
  1726. </summary>
  1727. <param name="columns">属性名,或者字段名</param>
  1728. <returns></returns>
  1729. </member>
  1730. <member name="M:FreeSql.IInsert`1.InsertIdentity">
  1731. <summary>
  1732. 指定可插入自增字段
  1733. </summary>
  1734. <returns></returns>
  1735. </member>
  1736. <member name="M:FreeSql.IInsert`1.NoneParameter(System.Boolean)">
  1737. <summary>
  1738. 不使用参数化,可通过 IFreeSql.CodeFirst.IsNotCommandParameter 全局性设置
  1739. </summary>
  1740. <param name="isNotCommandParameter">是否不使用参数化</param>
  1741. <returns></returns>
  1742. </member>
  1743. <member name="M:FreeSql.IInsert`1.BatchOptions(System.Int32,System.Int32,System.Boolean)">
  1744. <summary>
  1745. 批量执行选项设置,一般不需要使用该方法<para></para>
  1746. 各数据库 values, parameters 限制不一样,默认设置:<para></para>
  1747. MySql 5000 3000<para></para>
  1748. PostgreSQL 5000 3000<para></para>
  1749. SqlServer 1000 2100<para></para>
  1750. Oracle 500 999<para></para>
  1751. Sqlite 5000 999<para></para>
  1752. 若没有事务传入,内部(默认)会自动开启新事务,保证拆包执行的完整性。
  1753. </summary>
  1754. <param name="valuesLimit">指定根据 values 上限数量拆分执行</param>
  1755. <param name="parameterLimit">指定根据 parameters 上限数量拆分执行</param>
  1756. <param name="autoTransaction">是否自动开启事务</param>
  1757. <returns></returns>
  1758. </member>
  1759. <member name="M:FreeSql.IInsert`1.BatchProgress(System.Action{FreeSql.Internal.Model.BatchProgressStatus{`0}})">
  1760. <summary>
  1761. 批量执行时,分批次执行的进度状态
  1762. </summary>
  1763. <param name="callback">批量执行时的回调委托</param>
  1764. <returns></returns>
  1765. </member>
  1766. <member name="M:FreeSql.IInsert`1.AsTable(System.Func{System.String,System.String})">
  1767. <summary>
  1768. 设置表名规则,可用于分库/分表,参数1:默认表名;返回值:新表名;
  1769. </summary>
  1770. <param name="tableRule"></param>
  1771. <returns></returns>
  1772. </member>
  1773. <member name="M:FreeSql.IInsert`1.AsTable(System.String)">
  1774. <summary>
  1775. 设置表名
  1776. </summary>
  1777. <param name="tableName"></param>
  1778. <returns></returns>
  1779. </member>
  1780. <member name="M:FreeSql.IInsert`1.AsType(System.Type)">
  1781. <summary>
  1782. 动态Type,在使用 Insert&lt;object&gt; 后使用本方法,指定实体类型
  1783. </summary>
  1784. <param name="entityType"></param>
  1785. <returns></returns>
  1786. </member>
  1787. <member name="M:FreeSql.IInsert`1.ToSql">
  1788. <summary>
  1789. 返回即将执行的SQL语句
  1790. </summary>
  1791. <returns></returns>
  1792. </member>
  1793. <member name="M:FreeSql.IInsert`1.ExecuteAffrows">
  1794. <summary>
  1795. 执行SQL语句,返回影响的行数
  1796. </summary>
  1797. <returns></returns>
  1798. </member>
  1799. <member name="M:FreeSql.IInsert`1.ExecuteIdentity">
  1800. <summary>
  1801. 执行SQL语句,返回自增值<para></para>
  1802. 注意:请检查实体类是否标记了 [Column(IsIdentity = true)]
  1803. </summary>
  1804. <returns></returns>
  1805. </member>
  1806. <member name="M:FreeSql.IInsert`1.ExecuteInserted">
  1807. <summary>
  1808. 执行SQL语句,返回插入后的记录<para></para>
  1809. 注意:此方法只有 Postgresql/SqlServer 有效果
  1810. </summary>
  1811. <returns></returns>
  1812. </member>
  1813. <member name="M:FreeSql.IInsert`1.ToDataTable">
  1814. <summary>
  1815. 返回 DataTable 以便做 BulkCopy 数据做准备<para></para>
  1816. 此方法会处理:<para></para>
  1817. 类型、表名、字段名映射<para></para>
  1818. IgnoreColumns、InsertColumns
  1819. </summary>
  1820. <returns></returns>
  1821. </member>
  1822. <member name="M:FreeSql.IInsertOrUpdate`1.WithTransaction(System.Data.Common.DbTransaction)">
  1823. <summary>
  1824. 指定事务对象
  1825. </summary>
  1826. <param name="transaction"></param>
  1827. <returns></returns>
  1828. </member>
  1829. <member name="M:FreeSql.IInsertOrUpdate`1.WithConnection(System.Data.Common.DbConnection)">
  1830. <summary>
  1831. 指定事务对象
  1832. </summary>
  1833. <param name="connection"></param>
  1834. <returns></returns>
  1835. </member>
  1836. <member name="M:FreeSql.IInsertOrUpdate`1.CommandTimeout(System.Int32)">
  1837. <summary>
  1838. 命令超时设置(秒)
  1839. </summary>
  1840. <param name="timeout"></param>
  1841. <returns></returns>
  1842. </member>
  1843. <member name="M:FreeSql.IInsertOrUpdate`1.SetSource(`0)">
  1844. <summary>
  1845. 添加或更新,设置实体
  1846. </summary>
  1847. <param name="source">实体</param>
  1848. <returns></returns>
  1849. </member>
  1850. <member name="M:FreeSql.IInsertOrUpdate`1.SetSource(`0,System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
  1851. <summary>
  1852. 添加或更新,设置实体
  1853. </summary>
  1854. <param name="source">实体</param>
  1855. <param name="tempPrimarys">
  1856. 根据临时主键插入或更新,a => a.Name | a => new{a.Name,a.Time} | a => new[]{"name","time"}<para></para>
  1857. 注意:不处理自增,因某些数据库依赖主键或唯一键,所以指定临时主键仅对 SqlServer/PostgreSQL/Firebird/达梦/南大通用/金仓/神通 有效
  1858. </param>
  1859. <returns></returns>
  1860. </member>
  1861. <member name="M:FreeSql.IInsertOrUpdate`1.SetSource(System.Collections.Generic.IEnumerable{`0},System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
  1862. <summary>
  1863. 添加或更新,设置实体集合
  1864. </summary>
  1865. <param name="source">实体集合</param>
  1866. <param name="tempPrimarys">
  1867. 根据临时主键插入或更新,a => a.Name | a => new{a.Name,a.Time} | a => new[]{"name","time"}<para></para>
  1868. 注意:不处理自增,因某些数据库依赖主键或唯一键,所以指定临时主键仅对 SqlServer/PostgreSQL/Firebird/达梦/南大通用/金仓/神通 有效
  1869. </param>
  1870. <returns></returns>
  1871. </member>
  1872. <member name="M:FreeSql.IInsertOrUpdate`1.SetSource(System.String,System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
  1873. <summary>
  1874. 添加或更新,设置SQL
  1875. </summary>
  1876. <param name="sql">查询SQL</param>
  1877. <param name="tempPrimarys">
  1878. 根据临时主键插入或更新,a => a.Name | a => new{a.Name,a.Time} | a => new[]{"name","time"}<para></para>
  1879. 注意:不处理自增,因某些数据库依赖主键或唯一键,所以指定临时主键仅对 SqlServer/PostgreSQL/Firebird/达梦/南大通用/金仓/神通 有效
  1880. </param>
  1881. <returns></returns>
  1882. </member>
  1883. <member name="M:FreeSql.IInsertOrUpdate`1.IfExistsDoNothing">
  1884. <summary>
  1885. 当记录存在时,什么都不做<para></para>
  1886. 换句话:只有记录不存在时才插入
  1887. </summary>
  1888. <returns></returns>
  1889. </member>
  1890. <member name="M:FreeSql.IInsertOrUpdate`1.UpdateColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
  1891. <summary>
  1892. 当记录存在时,指定只更新的字段,UpdateColumns(a => a.Name) | UpdateColumns(a => new{a.Name,a.Time}) | UpdateColumns(a => new[]{"name","time"})
  1893. </summary>
  1894. <param name="columns">lambda选择列</param>
  1895. <returns></returns>
  1896. </member>
  1897. <member name="M:FreeSql.IInsertOrUpdate`1.UpdateColumns(System.String[])">
  1898. <summary>
  1899. 当记录存在时,指定只更新的字段
  1900. </summary>
  1901. <param name="columns">属性名,或者字段名</param>
  1902. <returns></returns>
  1903. </member>
  1904. <member name="M:FreeSql.IInsertOrUpdate`1.UpdateSet``1(System.Linq.Expressions.Expression{System.Func{`0,`0,``0}})">
  1905. <summary>
  1906. 设置列的联表值,格式:<para></para>
  1907. UpdateSet((a, b) => a.Clicks == b.xxx)<para></para>
  1908. UpdateSet((a, b) => a.Clicks == a.Clicks + 1)
  1909. </summary>
  1910. <typeparam name="TMember"></typeparam>
  1911. <param name="exp"></param>
  1912. <returns></returns>
  1913. </member>
  1914. <member name="M:FreeSql.IInsertOrUpdate`1.BatchOptions(System.Int32,System.Boolean)">
  1915. <summary>
  1916. 批量执行选项设置,一般不需要使用该方法<para></para>
  1917. 各数据库 rows 限制不一样,默认设置:200<para></para>
  1918. 若没有事务传入,内部(默认)会自动开启新事务,保证拆包执行的完整性。
  1919. </summary>
  1920. <param name="rowsLimit">指定根据 rows 上限数量拆分执行</param>
  1921. <param name="autoTransaction">是否自动开启事务</param>
  1922. <returns></returns>
  1923. </member>
  1924. <member name="M:FreeSql.IInsertOrUpdate`1.AsTable(System.Func{System.String,System.String})">
  1925. <summary>
  1926. 设置表名规则,可用于分库/分表,参数1:默认表名;返回值:新表名;
  1927. </summary>
  1928. <param name="tableRule"></param>
  1929. <returns></returns>
  1930. </member>
  1931. <member name="M:FreeSql.IInsertOrUpdate`1.AsTable(System.String)">
  1932. <summary>
  1933. 设置表名
  1934. </summary>
  1935. <param name="tableName"></param>
  1936. <returns></returns>
  1937. </member>
  1938. <member name="M:FreeSql.IInsertOrUpdate`1.AsType(System.Type)">
  1939. <summary>
  1940. 动态Type,在使用 Update&lt;object&gt; 后使用本方法,指定实体类型
  1941. </summary>
  1942. <param name="entityType"></param>
  1943. <returns></returns>
  1944. </member>
  1945. <member name="M:FreeSql.IInsertOrUpdate`1.ToSql">
  1946. <summary>
  1947. 返回即将执行的SQL语句
  1948. </summary>
  1949. <returns></returns>
  1950. </member>
  1951. <member name="M:FreeSql.IInsertOrUpdate`1.ExecuteAffrows">
  1952. <summary>
  1953. 执行SQL语句,返回影响的行数
  1954. </summary>
  1955. <returns></returns>
  1956. </member>
  1957. <member name="F:FreeSql.FieldAliasOptions.AsIndex">
  1958. <summary>
  1959. 自动产生 as1, as2, as3 .... 字段别名<para></para>
  1960. 这种方法可以最大程度防止多表,存在相同字段的问题
  1961. </summary>
  1962. </member>
  1963. <member name="F:FreeSql.FieldAliasOptions.AsProperty">
  1964. <summary>
  1965. 使用属性名作为字段别名
  1966. </summary>
  1967. </member>
  1968. <member name="M:FreeSql.ISelect0`2.Cancel(System.Func{System.Boolean})">
  1969. <summary>
  1970. 控制取消本次查询<para></para>
  1971. * 不会产生额外的异常<para></para>
  1972. * 取消成功,则不执行 SQL 命令<para></para>
  1973. * 取消成功,直接返回没有记录时候的返回值<para></para>
  1974. * 取消成功,如 List&lt;T&gt; 返回 0 元素列表,不是 null,仍然是旧机制<para></para>
  1975. </summary>
  1976. <param name="cancel">返回 true,则不会执行 SQL 命令</param>
  1977. <returns></returns>
  1978. </member>
  1979. <member name="M:FreeSql.ISelect0`2.WithTransaction(System.Data.Common.DbTransaction)">
  1980. <summary>
  1981. 指定事务对象
  1982. </summary>
  1983. <param name="transaction"></param>
  1984. <returns></returns>
  1985. </member>
  1986. <member name="M:FreeSql.ISelect0`2.WithConnection(System.Data.Common.DbConnection)">
  1987. <summary>
  1988. 指定连接对象
  1989. </summary>
  1990. <param name="connection"></param>
  1991. <returns></returns>
  1992. </member>
  1993. <member name="M:FreeSql.ISelect0`2.WithParameters(System.Collections.Generic.List{System.Data.Common.DbParameter})">
  1994. <summary>
  1995. 使用自定义参数化,UnionALL 或者 ToSql 可能有需要
  1996. </summary>
  1997. <param name="parameters"></param>
  1998. <returns></returns>
  1999. </member>
  2000. <member name="M:FreeSql.ISelect0`2.CommandTimeout(System.Int32)">
  2001. <summary>
  2002. 命令超时设置(秒)
  2003. </summary>
  2004. <param name="timeout"></param>
  2005. <returns></returns>
  2006. </member>
  2007. <member name="M:FreeSql.ISelect0`2.TrackToList(System.Action{System.Object})">
  2008. <summary>
  2009. 审核或跟踪 ToList 即将返回的数据
  2010. </summary>
  2011. <param name="action"></param>
  2012. <returns></returns>
  2013. </member>
  2014. <member name="M:FreeSql.ISelect0`2.ToDataTable(System.String)">
  2015. <summary>
  2016. 执行SQL查询,返回 DataTable
  2017. </summary>
  2018. <returns></returns>
  2019. </member>
  2020. <member name="M:FreeSql.ISelect0`2.ToDataTableByPropertyName(System.String[])">
  2021. <summary>
  2022. 执行SQL查询,返回 properties 指定的实体类属性,并以 DataTable 接收
  2023. </summary>
  2024. <param name="properties">属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name</param>
  2025. <returns></returns>
  2026. </member>
  2027. <member name="M:FreeSql.ISelect0`2.ToDictionary``1(System.Func{`1,``0})">
  2028. <summary>
  2029. 以字典的形式返回查询结果<para></para>
  2030. 注意:字典的特点会导致返回的数据无序
  2031. </summary>
  2032. <typeparam name="TKey"></typeparam>
  2033. <param name="keySelector"></param>
  2034. <returns></returns>
  2035. </member>
  2036. <member name="M:FreeSql.ISelect0`2.ToList">
  2037. <summary>
  2038. 执行SQL查询,返回 T1 实体所有字段的记录,记录不存在时返回 Count 为 0 的列表<para></para>
  2039. 注意:<para></para>
  2040. 1、ToList(a => a) 可以返回 a 所有实体<para></para>
  2041. 2、ToList(a => new { a }) 这样也可以<para></para>
  2042. 3、ToList((a, b, c) => new { a, b, c }) 这样也可以<para></para>
  2043. 4、abc 怎么来的?请试试 fsql.Select&lt;T1, T2, T3&gt;()
  2044. </summary>
  2045. <returns></returns>
  2046. </member>
  2047. <member name="M:FreeSql.ISelect0`2.ToList(System.Boolean)">
  2048. <summary>
  2049. 执行SQL查询,返回 T1 实体、以及 LeftJoin/InnerJoin/RightJoin 对象
  2050. </summary>
  2051. <param name="includeNestedMembers">false: 返回 2级 LeftJoin/InnerJoin/RightJoin 对象;true: 返回所有 LeftJoin/InnerJoin/RightJoin 的导航数据</param>
  2052. <returns></returns>
  2053. </member>
  2054. <member name="M:FreeSql.ISelect0`2.ToChunk(System.Int32,System.Action{FreeSql.Internal.Model.FetchCallbackArgs{System.Collections.Generic.List{`1}}},System.Boolean)">
  2055. <summary>
  2056. 执行SQL查询,分块返回数据,可减少内存开销。比如读取10万条数据,每次返回100条处理。
  2057. </summary>
  2058. <param name="size">数据块的大小</param>
  2059. <param name="done">处理数据块</param>
  2060. <param name="includeNestedMembers">false: 返回 2级 LeftJoin/InnerJoin/RightJoin 对象;true: 返回所有 LeftJoin/InnerJoin/RightJoin 的导航数据</param>
  2061. </member>
  2062. <member name="M:FreeSql.ISelect0`2.ToList``1(System.String)">
  2063. <summary>
  2064. 执行SQL查询,返回 field 指定字段的记录,并以元组或基础类型(int,string,long)接收,记录不存在时返回 Count 为 0 的列表
  2065. </summary>
  2066. <typeparam name="TTuple"></typeparam>
  2067. <param name="field"></param>
  2068. <returns></returns>
  2069. </member>
  2070. <member name="M:FreeSql.ISelect0`2.ToOne">
  2071. <summary>
  2072. 执行SQL查询,返回 T1 实体所有字段的第一条记录,记录不存在时返回 null
  2073. </summary>
  2074. <returns></returns>
  2075. </member>
  2076. <member name="M:FreeSql.ISelect0`2.First">
  2077. <summary>
  2078. 执行SQL查询,返回 T1 实体所有字段的第一条记录,记录不存在时返回 null
  2079. </summary>
  2080. <returns></returns>
  2081. </member>
  2082. <member name="M:FreeSql.ISelect0`2.ToDelete">
  2083. <summary>
  2084. 将查询转为删除对象,以便支持导航对象或其他查询功能删除数据,如下:<para></para>
  2085. fsql.Select&lt;T1&gt;().Where(a => a.Options.xxx == 1).ToDelete().ExecuteAffrows()<para></para>
  2086. 注意:此方法不是将数据查询到内存循环删除,上面的代码产生如下 SQL 执行:<para></para>
  2087. DELETE FROM `T1` WHERE id in (select a.id from T1 a left join Options b on b.t1id = a.id where b.xxx = 1)<para></para>
  2088. 复杂删除使用该方案的好处:<para></para>
  2089. 1、删除前可预览测试数据,防止错误删除操作;<para></para>
  2090. 2、支持更加复杂的删除操作(IDelete 默认只支持简单的操作);
  2091. </summary>
  2092. <returns></returns>
  2093. </member>
  2094. <member name="M:FreeSql.ISelect0`2.ToUpdate">
  2095. <summary>
  2096. 将查询转为更新对象,以便支持导航对象或其他查询功能更新数据,如下:<para></para>
  2097. fsql.Select&lt;T1&gt;().Where(a => a.Options.xxx == 1).ToUpdate().Set(a => a.Title, "111").ExecuteAffrows()<para></para>
  2098. 注意:此方法不是将数据查询到内存循环更新,上面的代码产生如下 SQL 执行:<para></para>
  2099. UPDATE `T1` SET Title = '111' WHERE id in (select a.id from T1 a left join Options b on b.t1id = a.id where b.xxx = 1)<para></para>
  2100. 复杂更新使用该方案的好处:<para></para>
  2101. 1、更新前可预览测试数据,防止错误更新操作;<para></para>
  2102. 2、支持更加复杂的更新操作(IUpdate 默认只支持简单的操作);
  2103. </summary>
  2104. <returns></returns>
  2105. </member>
  2106. <member name="M:FreeSql.ISelect0`2.AsTable(System.Func{System.Type,System.String,System.String})">
  2107. <summary>
  2108. 设置表名规则,可用于分库/分表,参数1:实体类型;参数2:默认表名;返回值:新表名; <para></para>
  2109. 设置多次,可查询分表后的多个子表记录,以 UNION ALL 形式执行。 <para></para>
  2110. 如:select.AsTable((type, oldname) => "table_1").AsTable((type, oldname) => "table_2").AsTable((type, oldname) => "table_3").ToSql(a => a.Id); <para></para>
  2111. select * from (SELECT a."Id" as1 FROM "table_1" a) ftb <para></para>
  2112. UNION ALL select * from (SELECT a."Id" as1 FROM "table_2" a) ftb <para></para>
  2113. UNION ALL select * from (SELECT a."Id" as1 FROM "table_3" a) ftb <para></para>
  2114. 还可以这样:select.AsTable((a, b) => "(select * from tb_topic where clicks > 10)").Page(1, 10).ToList()
  2115. </summary>
  2116. <param name="tableRule"></param>
  2117. <returns></returns>
  2118. </member>
  2119. <member name="M:FreeSql.ISelect0`2.AsAlias(System.Func{System.Type,System.String,System.String})">
  2120. <summary>
  2121. 设置别名规则,可用于拦截表别名,实现类似 sqlserver 的 with(nolock) 需求<para></para>
  2122. 如:select.AsAlias((_, old) => $"{old} with(lock)")
  2123. </summary>
  2124. <param name="aliasRule"></param>
  2125. <returns></returns>
  2126. </member>
  2127. <member name="M:FreeSql.ISelect0`2.AsType(System.Type)">
  2128. <summary>
  2129. 动态Type,在使用 Select&lt;object&gt; 后使用本方法,指定实体类型
  2130. </summary>
  2131. <param name="entityType"></param>
  2132. <returns></returns>
  2133. </member>
  2134. <member name="M:FreeSql.ISelect0`2.ToSql(System.String)">
  2135. <summary>
  2136. 返回即将执行的SQL语句
  2137. </summary>
  2138. <param name="field">指定字段</param>
  2139. <returns></returns>
  2140. </member>
  2141. <member name="M:FreeSql.ISelect0`2.Any">
  2142. <summary>
  2143. 执行SQL查询,是否有记录
  2144. </summary>
  2145. <returns></returns>
  2146. </member>
  2147. <member name="M:FreeSql.ISelect0`2.Count">
  2148. <summary>
  2149. 查询的记录数量
  2150. </summary>
  2151. <returns></returns>
  2152. </member>
  2153. <member name="M:FreeSql.ISelect0`2.Count(System.Int64@)">
  2154. <summary>
  2155. 查询的记录数量,以参数out形式返回
  2156. </summary>
  2157. <param name="count">返回的变量</param>
  2158. <returns></returns>
  2159. </member>
  2160. <member name="M:FreeSql.ISelect0`2.Master">
  2161. <summary>
  2162. 指定从主库查询(默认查询从库)
  2163. </summary>
  2164. <returns></returns>
  2165. </member>
  2166. <member name="M:FreeSql.ISelect0`2.LeftJoin(System.Linq.Expressions.Expression{System.Func{`1,System.Boolean}})">
  2167. <summary>
  2168. 左联查询,使用导航属性自动生成SQL
  2169. </summary>
  2170. <param name="exp">表达式</param>
  2171. <returns></returns>
  2172. </member>
  2173. <member name="M:FreeSql.ISelect0`2.InnerJoin(System.Linq.Expressions.Expression{System.Func{`1,System.Boolean}})">
  2174. <summary>
  2175. 联接查询,使用导航属性自动生成SQL
  2176. </summary>
  2177. <param name="exp">表达式</param>
  2178. <returns></returns>
  2179. </member>
  2180. <member name="M:FreeSql.ISelect0`2.RightJoin(System.Linq.Expressions.Expression{System.Func{`1,System.Boolean}})">
  2181. <summary>
  2182. 右联查询,使用导航属性自动生成SQL
  2183. </summary>
  2184. <param name="exp">表达式</param>
  2185. <returns></returns>
  2186. </member>
  2187. <member name="M:FreeSql.ISelect0`2.LeftJoin``1(System.Linq.Expressions.Expression{System.Func{`1,``0,System.Boolean}})">
  2188. <summary>
  2189. 左联查询,指定关联的实体类型
  2190. </summary>
  2191. <typeparam name="T2">关联的实体类型</typeparam>
  2192. <param name="exp">表达式</param>
  2193. <returns></returns>
  2194. </member>
  2195. <member name="M:FreeSql.ISelect0`2.InnerJoin``1(System.Linq.Expressions.Expression{System.Func{`1,``0,System.Boolean}})">
  2196. <summary>
  2197. 联接查询,指定关联的实体类型
  2198. </summary>
  2199. <typeparam name="T2">关联的实体类型</typeparam>
  2200. <param name="exp">表达式</param>
  2201. <returns></returns>
  2202. </member>
  2203. <member name="M:FreeSql.ISelect0`2.RightJoin``1(System.Linq.Expressions.Expression{System.Func{`1,``0,System.Boolean}})">
  2204. <summary>
  2205. 右联查询,指定关联的实体类型
  2206. </summary>
  2207. <typeparam name="T2">关联的实体类型</typeparam>
  2208. <param name="exp">表达式</param>
  2209. <returns></returns>
  2210. </member>
  2211. <member name="M:FreeSql.ISelect0`2.LeftJoin(System.String,System.Object)">
  2212. <summary>
  2213. 左联查询,使用原生sql语法,LeftJoin("type b on b.id = a.id and b.clicks > @clicks", new { clicks = 1 })<para></para>
  2214. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2215. </summary>
  2216. <param name="sql">sql语法条件</param>
  2217. <param name="parms">参数</param>
  2218. <returns></returns>
  2219. </member>
  2220. <member name="M:FreeSql.ISelect0`2.InnerJoin(System.String,System.Object)">
  2221. <summary>
  2222. 联接查询,使用原生sql语法,InnerJoin("type b on b.id = a.id and b.clicks > @clicks", new { clicks = 1 })<para></para>
  2223. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2224. </summary>
  2225. <param name="sql">sql语法条件</param>
  2226. <param name="parms">参数</param>
  2227. <returns></returns>
  2228. </member>
  2229. <member name="M:FreeSql.ISelect0`2.RightJoin(System.String,System.Object)">
  2230. <summary>
  2231. 右联查询,使用原生sql语法,RightJoin("type b on b.id = a.id and b.clicks > @clicks", new { clicks = 1 })<para></para>
  2232. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2233. </summary>
  2234. <param name="sql">sql语法条件</param>
  2235. <param name="parms">参数</param>
  2236. <returns></returns>
  2237. </member>
  2238. <member name="M:FreeSql.ISelect0`2.RawJoin(System.String)">
  2239. <summary>
  2240. 在 JOIN 位置插入 SQL 内容<para></para>
  2241. 如:.RawJoin("OUTER APPLY ( select id from t2 ) b")
  2242. </summary>
  2243. <param name="sql"></param>
  2244. <returns></returns>
  2245. </member>
  2246. <member name="M:FreeSql.ISelect0`2.Where(System.String,System.Object)">
  2247. <summary>
  2248. 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
  2249. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2250. </summary>
  2251. <param name="sql">sql语法条件</param>
  2252. <param name="parms">参数</param>
  2253. <returns></returns>
  2254. </member>
  2255. <member name="M:FreeSql.ISelect0`2.WhereIf(System.Boolean,System.String,System.Object)">
  2256. <summary>
  2257. 原生sql语法条件,WhereIf(true, "id = @id", new { id = 1 })<para></para>
  2258. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2259. </summary>
  2260. <param name="condition">true 时生效</param>
  2261. <param name="sql">sql语法条件</param>
  2262. <param name="parms">参数</param>
  2263. <returns></returns>
  2264. </member>
  2265. <member name="M:FreeSql.ISelect0`2.WhereDynamicFilter(FreeSql.Internal.Model.DynamicFilterInfo)">
  2266. <summary>
  2267. 动态过滤条件
  2268. </summary>
  2269. <param name="filter"></param>
  2270. <returns></returns>
  2271. </member>
  2272. <member name="M:FreeSql.ISelect0`2.DisableGlobalFilter(System.String[])">
  2273. <summary>
  2274. 禁用全局过滤功能,不传参数时将禁用所有
  2275. </summary>
  2276. <param name="name">零个或多个过滤器名字</param>
  2277. <returns></returns>
  2278. </member>
  2279. <member name="M:FreeSql.ISelect0`2.ForUpdate(System.Boolean)">
  2280. <summary>
  2281. 排他更新锁<para></para>
  2282. 注意:务必在开启事务后使用该功能<para></para>
  2283. MySql: for update<para></para>
  2284. SqlServer: With(UpdLock, RowLock, NoWait)<para></para>
  2285. PostgreSQL: for update nowait<para></para>
  2286. Oracle: for update nowait<para></para>
  2287. Sqlite: 无效果<para></para>
  2288. 达梦: for update nowait<para></para>
  2289. 人大金仓: for update nowait<para></para>
  2290. 神通: for update
  2291. </summary>
  2292. <param name="nowait">noawait</param>
  2293. <returns></returns>
  2294. </member>
  2295. <member name="M:FreeSql.ISelect0`2.GroupBy(System.String,System.Object)">
  2296. <summary>
  2297. 按原生sql语法分组,GroupBy("concat(name, @cc)", new { cc = 1 })<para></para>
  2298. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2299. </summary>
  2300. <param name="sql">sql语法</param>
  2301. <param name="parms">参数</param>
  2302. <returns></returns>
  2303. </member>
  2304. <member name="M:FreeSql.ISelect0`2.Having(System.String,System.Object)">
  2305. <summary>
  2306. 按原生sql语法聚合条件过滤,Having("count(name) = @cc", new { cc = 1 })<para></para>
  2307. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2308. </summary>
  2309. <param name="sql">sql语法条件</param>
  2310. <param name="parms">参数</param>
  2311. <returns></returns>
  2312. </member>
  2313. <member name="M:FreeSql.ISelect0`2.OrderBy(System.String,System.Object)">
  2314. <summary>
  2315. 按原生sql语法排序,OrderBy("count(name) + @cc desc", new { cc = 1 })<para></para>
  2316. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2317. </summary>
  2318. <param name="sql">sql语法</param>
  2319. <param name="parms">参数</param>
  2320. <returns></returns>
  2321. </member>
  2322. <member name="M:FreeSql.ISelect0`2.OrderBy(System.Boolean,System.String,System.Object)">
  2323. <summary>
  2324. 按原生sql语法排序,OrderBy(true, "count(name) + @cc desc", new { cc = 1 })<para></para>
  2325. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2326. </summary>
  2327. <param name="condition">true 时生效</param>
  2328. <param name="sql">sql语法</param>
  2329. <param name="parms">参数</param>
  2330. <returns></returns>
  2331. </member>
  2332. <member name="M:FreeSql.ISelect0`2.OrderByPropertyName(System.String,System.Boolean)">
  2333. <summary>
  2334. 按属性名字符串排序(支持导航属性)<para></para>
  2335. 属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name
  2336. </summary>
  2337. <param name="property">属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name</param>
  2338. <param name="isAscending">顺序 | 倒序</param>
  2339. <returns></returns>
  2340. </member>
  2341. <member name="M:FreeSql.ISelect0`2.OrderByPropertyNameIf(System.Boolean,System.String,System.Boolean)">
  2342. <summary>
  2343. 按属性名字符串排序(支持导航属性)<para></para>
  2344. 属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name
  2345. </summary>
  2346. <param name="condition">true 时生效</param>
  2347. <param name="property">属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name</param>
  2348. <param name="isAscending">顺序 | 倒序</param>
  2349. <returns></returns>
  2350. </member>
  2351. <member name="M:FreeSql.ISelect0`2.Skip(System.Int32)">
  2352. <summary>
  2353. 查询向后偏移行数
  2354. </summary>
  2355. <param name="offset"></param>
  2356. <returns></returns>
  2357. </member>
  2358. <member name="M:FreeSql.ISelect0`2.Offset(System.Int32)">
  2359. <summary>
  2360. 查询向后偏移行数
  2361. </summary>
  2362. <param name="offset">行数</param>
  2363. <returns></returns>
  2364. </member>
  2365. <member name="M:FreeSql.ISelect0`2.Limit(System.Int32)">
  2366. <summary>
  2367. 查询多少条数据
  2368. </summary>
  2369. <param name="limit"></param>
  2370. <returns></returns>
  2371. </member>
  2372. <member name="M:FreeSql.ISelect0`2.Take(System.Int32)">
  2373. <summary>
  2374. 查询多少条数据
  2375. </summary>
  2376. <param name="limit"></param>
  2377. <returns></returns>
  2378. </member>
  2379. <member name="M:FreeSql.ISelect0`2.Page(System.Int32,System.Int32)">
  2380. <summary>
  2381. 分页
  2382. </summary>
  2383. <param name="pageNumber">第几页</param>
  2384. <param name="pageSize">每页多少</param>
  2385. <returns></returns>
  2386. </member>
  2387. <member name="M:FreeSql.ISelect0`2.Page(FreeSql.Internal.Model.BasePagingInfo)">
  2388. <summary>
  2389. 分页
  2390. </summary>
  2391. <param name="pagingInfo">分页信息</param>
  2392. <returns></returns>
  2393. </member>
  2394. <member name="M:FreeSql.ISelect0`2.Distinct">
  2395. <summary>
  2396. 查询数据前,去重
  2397. <para>
  2398. .Distinct().ToList(x => x.GroupName) 对指定字段去重
  2399. </para>
  2400. <para>
  2401. .Distinct().ToList() 对整个查询去重
  2402. </para>
  2403. </summary>
  2404. <returns></returns>
  2405. </member>
  2406. <member name="M:FreeSql.ISelect`1.Any(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  2407. <summary>
  2408. 执行SQL查询,是否有记录
  2409. </summary>
  2410. <param name="exp">lambda表达式</param>
  2411. <returns></returns>
  2412. </member>
  2413. <member name="M:FreeSql.ISelect`1.InsertInto``1(System.String,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2414. <summary>
  2415. 将查询转换为 INSERT INTO tableName SELECT ... FROM t 执行插入
  2416. </summary>
  2417. <typeparam name="TTargetEntity"></typeparam>
  2418. <param name="tableName">指定插入的表名,若为 null 则使用 TTargetEntity 实体表名</param>
  2419. <param name="select">选择列</param>
  2420. <returns>返回影响的行数</returns>
  2421. </member>
  2422. <member name="M:FreeSql.ISelect`1.ToDataTable``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2423. <summary>
  2424. 执行SQL查询,返回 DataTable
  2425. </summary>
  2426. <returns></returns>
  2427. </member>
  2428. <member name="M:FreeSql.ISelect`1.ToList``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2429. <summary>
  2430. 执行SQL查询,返回指定字段的记录,记录不存在时返回 Count 为 0 的列表
  2431. </summary>
  2432. <typeparam name="TReturn">返回类型</typeparam>
  2433. <param name="select">选择列</param>
  2434. <returns></returns>
  2435. </member>
  2436. <member name="M:FreeSql.ISelect`1.ToList``1">
  2437. <summary>
  2438. 执行SQL查询,返回 TDto 映射的字段,记录不存在时返回 Count 为 0 的列表
  2439. </summary>
  2440. <typeparam name="TDto"></typeparam>
  2441. <returns></returns>
  2442. </member>
  2443. <member name="M:FreeSql.ISelect`1.ToChunk``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Int32,System.Action{FreeSql.Internal.Model.FetchCallbackArgs{System.Collections.Generic.List{``0}}})">
  2444. <summary>
  2445. 执行SQL查询,分块返回数据,可减少内存开销。比如读取10万条数据,每次返回100条处理。
  2446. </summary>
  2447. <typeparam name="TReturn">返回类型</typeparam>
  2448. <param name="select">选择列</param>
  2449. <param name="size">数据块的大小</param>
  2450. <param name="done">处理数据块</param>
  2451. </member>
  2452. <member name="M:FreeSql.ISelect`1.ToOne``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2453. <summary>
  2454. 执行SQL查询,返回指定字段的记录的第一条记录,记录不存在时返回 TReturn 默认值
  2455. </summary>
  2456. <typeparam name="TReturn">返回类型</typeparam>
  2457. <param name="select">选择列</param>
  2458. <returns></returns>
  2459. </member>
  2460. <member name="M:FreeSql.ISelect`1.ToOne``1">
  2461. <summary>
  2462. 执行SQL查询,返回 TDto 映射的字段,记录不存在时返回 Dto 默认值
  2463. </summary>
  2464. <typeparam name="TDto"></typeparam>
  2465. <returns></returns>
  2466. </member>
  2467. <member name="M:FreeSql.ISelect`1.First``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2468. <summary>
  2469. 执行SQL查询,返回指定字段的记录的第一条记录,记录不存在时返回 TReturn 默认值
  2470. </summary>
  2471. <typeparam name="TReturn">返回类型</typeparam>
  2472. <param name="select">选择列</param>
  2473. <returns></returns>
  2474. </member>
  2475. <member name="M:FreeSql.ISelect`1.First``1">
  2476. <summary>
  2477. 执行SQL查询,返回 TDto 映射的字段,记录不存在时返回 Dto 默认值
  2478. </summary>
  2479. <typeparam name="TDto"></typeparam>
  2480. <returns></returns>
  2481. </member>
  2482. <member name="M:FreeSql.ISelect`1.ToSql``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},FreeSql.FieldAliasOptions)">
  2483. <summary>
  2484. 返回即将执行的SQL语句
  2485. </summary>
  2486. <typeparam name="TReturn">返回类型</typeparam>
  2487. <param name="select">选择列</param>
  2488. <param name="fieldAlias">字段别名</param>
  2489. <returns></returns>
  2490. </member>
  2491. <member name="M:FreeSql.ISelect`1.ToAggregate``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0},``0}})">
  2492. <summary>
  2493. 执行SQL查询,返回指定字段的聚合结果
  2494. </summary>
  2495. <typeparam name="TReturn"></typeparam>
  2496. <param name="select"></param>
  2497. <returns></returns>
  2498. </member>
  2499. <member name="M:FreeSql.ISelect`1.Aggregate``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0},``0}},``0@)">
  2500. <summary>
  2501. 执行SQL查询,返回指定字段的聚合结果给 output 参数<para></para>
  2502. fsql.Select&lt;T&gt;()<para></para>
  2503. .Aggregate(a =&gt; new { count = a.Count, sum = a.Sum(a.Key.Price) }, out var agg)<para></para>
  2504. .Page(1, 10).ToList();
  2505. </summary>
  2506. <typeparam name="TReturn"></typeparam>
  2507. <param name="select"></param>
  2508. <param name="result"></param>
  2509. <returns></returns>
  2510. </member>
  2511. <member name="M:FreeSql.ISelect`1.Sum``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2512. <summary>
  2513. 求和
  2514. </summary>
  2515. <typeparam name="TMember">返回类型</typeparam>
  2516. <param name="column">列</param>
  2517. <returns></returns>
  2518. </member>
  2519. <member name="M:FreeSql.ISelect`1.Min``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2520. <summary>
  2521. 最小值
  2522. </summary>
  2523. <typeparam name="TMember">返回类型</typeparam>
  2524. <param name="column">列</param>
  2525. <returns></returns>
  2526. </member>
  2527. <member name="M:FreeSql.ISelect`1.Max``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2528. <summary>
  2529. 最大值
  2530. </summary>
  2531. <typeparam name="TMember">返回类型</typeparam>
  2532. <param name="column">列</param>
  2533. <returns></returns>
  2534. </member>
  2535. <member name="M:FreeSql.ISelect`1.Avg``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2536. <summary>
  2537. 平均值
  2538. </summary>
  2539. <typeparam name="TMember">返回类型</typeparam>
  2540. <param name="column">列</param>
  2541. <returns></returns>
  2542. </member>
  2543. <member name="M:FreeSql.ISelect`1.As(System.String)">
  2544. <summary>
  2545. 指定别名
  2546. </summary>
  2547. <param name="alias">别名</param>
  2548. <returns></returns>
  2549. </member>
  2550. <member name="M:FreeSql.ISelect`1.From``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectFromExpression{`0},``0,FreeSql.ISelectFromExpression{`0}}})">
  2551. <summary>
  2552. 多表查询
  2553. </summary>
  2554. <typeparam name="T2"></typeparam>
  2555. <param name="exp"></param>
  2556. <returns></returns>
  2557. </member>
  2558. <member name="M:FreeSql.ISelect`1.Where(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  2559. <summary>
  2560. 查询条件,Where(a => a.Id > 10),支持导航对象查询,Where(a => a.Author.Email == "2881099@qq.com")
  2561. </summary>
  2562. <param name="exp">lambda表达式</param>
  2563. <returns></returns>
  2564. </member>
  2565. <member name="M:FreeSql.ISelect`1.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  2566. <summary>
  2567. 查询条件,Where(true, a => a.Id > 10),支导航对象查询,Where(true, a => a.Author.Email == "2881099@qq.com")
  2568. </summary>
  2569. <param name="condition">true 时生效</param>
  2570. <param name="exp">lambda表达式</param>
  2571. <returns></returns>
  2572. </member>
  2573. <member name="M:FreeSql.ISelect`1.Where``1(System.Linq.Expressions.Expression{System.Func{`0,``0,System.Boolean}})">
  2574. <summary>
  2575. 多表条件查询
  2576. </summary>
  2577. <typeparam name="T2"></typeparam>
  2578. <param name="exp">lambda表达式</param>
  2579. <returns></returns>
  2580. </member>
  2581. <member name="M:FreeSql.ISelect`1.Where``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
  2582. <summary>
  2583. 多表条件查询
  2584. </summary>
  2585. <typeparam name="T2"></typeparam>
  2586. <param name="exp">lambda表达式</param>
  2587. <returns></returns>
  2588. </member>
  2589. <member name="M:FreeSql.ISelect`1.Where``2(System.Linq.Expressions.Expression{System.Func{`0,``0,``1,System.Boolean}})">
  2590. <summary>
  2591. 多表条件查询
  2592. </summary>
  2593. <typeparam name="T2"></typeparam>
  2594. <typeparam name="T3"></typeparam>
  2595. <param name="exp">lambda表达式</param>
  2596. <returns></returns>
  2597. </member>
  2598. <member name="M:FreeSql.ISelect`1.Where``3(System.Linq.Expressions.Expression{System.Func{`0,``0,``1,``2,System.Boolean}})">
  2599. <summary>
  2600. 多表条件查询
  2601. </summary>
  2602. <typeparam name="T2"></typeparam>
  2603. <typeparam name="T3"></typeparam>
  2604. <typeparam name="T4"></typeparam>
  2605. <param name="exp">lambda表达式</param>
  2606. <returns></returns>
  2607. </member>
  2608. <member name="M:FreeSql.ISelect`1.Where``4(System.Linq.Expressions.Expression{System.Func{`0,``0,``1,``2,``3,System.Boolean}})">
  2609. <summary>
  2610. 多表条件查询
  2611. </summary>
  2612. <typeparam name="T2"></typeparam>
  2613. <typeparam name="T3"></typeparam>
  2614. <typeparam name="T4"></typeparam>
  2615. <typeparam name="T5"></typeparam>
  2616. <param name="exp">lambda表达式</param>
  2617. <returns></returns>
  2618. </member>
  2619. <member name="M:FreeSql.ISelect`1.WhereDynamic(System.Object,System.Boolean)">
  2620. <summary>
  2621. 传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  2622. </summary>
  2623. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  2624. <param name="not">是否标识为NOT</param>
  2625. <returns></returns>
  2626. </member>
  2627. <member name="M:FreeSql.ISelect`1.WhereCascade(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  2628. <summary>
  2629. 多表查询时,该方法标记后,表达式条件将对所有表进行附加
  2630. <para></para>
  2631. 例如:软删除、租户,每个表都给条件,挺麻烦的
  2632. <para></para>
  2633. fsql.Select&lt;T1&gt;().LeftJoin&lt;T2&gt;(...).Where&lt;T2&gt;((t1, t2 => t1.IsDeleted == false &amp;&amp; t2.IsDeleted == false)
  2634. <para></para>
  2635. 修改:fsql.Select&lt;T1&gt;().LeftJoin&lt;T2&gt;(...).WhereCascade(t1 => t1.IsDeleted == false)
  2636. <para></para>
  2637. 当其中的实体可附加表达式才会进行,表越多时收益越大
  2638. </summary>
  2639. <param name="exp"></param>
  2640. <returns></returns>
  2641. </member>
  2642. <member name="M:FreeSql.ISelect`1.GroupBy``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2643. <summary>
  2644. 按选择的列分组,GroupBy(a => a.Name) | GroupBy(a => new{a.Name,a.Time})
  2645. </summary>
  2646. <param name="exp"></param>
  2647. <returns></returns>
  2648. </member>
  2649. <member name="M:FreeSql.ISelect`1.OrderBy``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2650. <summary>
  2651. 按列排序,OrderBy(a => a.Time)
  2652. </summary>
  2653. <typeparam name="TMember"></typeparam>
  2654. <param name="column"></param>
  2655. <returns></returns>
  2656. </member>
  2657. <member name="M:FreeSql.ISelect`1.OrderBy``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2658. <summary>
  2659. 按列排序,OrderBy(true, a => a.Time)
  2660. </summary>
  2661. <typeparam name="TMember"></typeparam>
  2662. <param name="condition">true 时生效</param>
  2663. <param name="column"></param>
  2664. <returns></returns>
  2665. </member>
  2666. <member name="M:FreeSql.ISelect`1.OrderByIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Boolean)">
  2667. <summary>
  2668. 按列排序,OrderByIf(true, a => a.Time)
  2669. </summary>
  2670. <typeparam name="TMember"></typeparam>
  2671. <param name="condition">true 时生效</param>
  2672. <param name="column"></param>
  2673. <param name="descending">true: DESC, false: ASC</param>
  2674. <returns></returns>
  2675. </member>
  2676. <member name="M:FreeSql.ISelect`1.OrderByDescending``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2677. <summary>
  2678. 按列倒向排序,OrderByDescending(a => a.Time)
  2679. </summary>
  2680. <param name="column">列</param>
  2681. <returns></returns>
  2682. </member>
  2683. <member name="M:FreeSql.ISelect`1.OrderByDescending``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2684. <summary>
  2685. 按列倒向排序,OrderByDescending(true, a => a.Time)
  2686. </summary>
  2687. <param name="condition">true 时生效</param>
  2688. <param name="column">列</param>
  2689. <returns></returns>
  2690. </member>
  2691. <member name="M:FreeSql.ISelect`1.Include``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2692. <summary>
  2693. 贪婪加载导航属性,如果查询中已经使用了 a.Parent.Parent 类似表达式,则可以无需此操作
  2694. </summary>
  2695. <typeparam name="TNavigate"></typeparam>
  2696. <param name="navigateSelector">选择一个导航属性</param>
  2697. <returns></returns>
  2698. </member>
  2699. <member name="M:FreeSql.ISelect`1.IncludeIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2700. <summary>
  2701. 贪婪加载导航属性,如果查询中已经使用了 a.Parent.Parent 类似表达式,则可以无需此操作
  2702. </summary>
  2703. <typeparam name="TNavigate"></typeparam>
  2704. <param name="condition">true 时生效</param>
  2705. <param name="navigateSelector">选择一个导航属性</param>
  2706. <returns></returns>
  2707. </member>
  2708. <member name="M:FreeSql.ISelect`1.IncludeMany``1(System.Linq.Expressions.Expression{System.Func{`0,System.Collections.Generic.IEnumerable{``0}}},System.Action{FreeSql.ISelect{``0}})">
  2709. <summary>
  2710. 贪婪加载集合的导航属性,其实是分两次查询,ToList 后进行了数据重装<para></para>
  2711. 文档:https://github.com/dotnetcore/FreeSql/wiki/%E8%B4%AA%E5%A9%AA%E5%8A%A0%E8%BD%BD
  2712. </summary>
  2713. <typeparam name="TNavigate"></typeparam>
  2714. <param name="navigateSelector">选择一个集合的导航属性,如: .IncludeMany(a => a.Tags)<para></para>
  2715. 可以 .Where 设置临时的关系映射,如: .IncludeMany(a => a.Tags.Where(tag => tag.TypeId == a.Id))<para></para>
  2716. 可以 .Take(5) 每个子集合只取5条,如: .IncludeMany(a => a.Tags.Take(5))<para></para>
  2717. 可以 .Select 设置只查询部分字段,如: (a => new TNavigate { Title = a.Title })
  2718. </param>
  2719. <param name="then">即能 ThenInclude,还可以二次过滤(这个 EFCore 做不到?)</param>
  2720. <returns></returns>
  2721. </member>
  2722. <member name="M:FreeSql.ISelect`1.IncludeByPropertyName(System.String)">
  2723. <summary>
  2724. 按属性名字符串进行 Include/IncludeMany 操作
  2725. </summary>
  2726. <param name="property"></param>
  2727. <returns></returns>
  2728. </member>
  2729. <member name="M:FreeSql.ISelect`1.IncludeByPropertyNameIf(System.Boolean,System.String)">
  2730. <summary>
  2731. 按属性名字符串进行 Include/IncludeMany 操作
  2732. </summary>
  2733. <param name="condition">true 时生效</param>
  2734. <param name="property"></param>
  2735. <returns></returns>
  2736. </member>
  2737. <member name="M:FreeSql.ISelect`1.WithSql(System.String,System.Object)">
  2738. <summary>
  2739. 实现 select .. from ( select ... from t ) a 这样的功能<para></para>
  2740. 使用 AsTable 方法也可以达到效果<para></para>
  2741. 示例:WithSql("select * from id=@id", new { id = 1 })<para></para>
  2742. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  2743. </summary>
  2744. <param name="sql">SQL语句</param>
  2745. <param name="parms">参数</param>
  2746. <returns></returns>
  2747. </member>
  2748. <member name="M:FreeSql.ISelect`1.WithMemory(System.Collections.Generic.IEnumerable{`0})">
  2749. <summary>
  2750. 实现 select .. from ( select .. UNION ALL select .. ) a 这样的功能(基于内存数据)
  2751. </summary>
  2752. <param name="source">内存数据</param>
  2753. <returns></returns>
  2754. </member>
  2755. <member name="M:FreeSql.ISelect`1.WithTempQuery``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2756. <summary>
  2757. 嵌套查询 select * from ( select ... from table ... ) a
  2758. </summary>
  2759. <typeparam name="TDto"></typeparam>
  2760. <param name="selector"></param>
  2761. <returns></returns>
  2762. </member>
  2763. <member name="M:FreeSql.ISelectFromExpression`1.Where(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  2764. <summary>
  2765. 查询条件,Where(a => a.Id > 10),支持导航对象查询,Where(a => a.Author.Email == "2881099@qq.com")
  2766. </summary>
  2767. <param name="exp">lambda表达式</param>
  2768. <returns></returns>
  2769. </member>
  2770. <member name="M:FreeSql.ISelectFromExpression`1.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  2771. <summary>
  2772. 查询条件,Where(true, a => a.Id > 10),支导航对象查询,Where(true, a => a.Author.Email == "2881099@qq.com")
  2773. </summary>
  2774. <param name="condition">true 时生效</param>
  2775. <param name="exp">lambda表达式</param>
  2776. <returns></returns>
  2777. </member>
  2778. <member name="M:FreeSql.ISelectFromExpression`1.OrderBy``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2779. <summary>
  2780. 按列排序,OrderBy(a => a.Time)
  2781. </summary>
  2782. <typeparam name="TMember"></typeparam>
  2783. <param name="column"></param>
  2784. <returns></returns>
  2785. </member>
  2786. <member name="M:FreeSql.ISelectFromExpression`1.OrderByDescending``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  2787. <summary>
  2788. 按列倒向排序,OrderByDescending(a => a.Time)
  2789. </summary>
  2790. <param name="column">列</param>
  2791. <returns></returns>
  2792. </member>
  2793. <member name="M:FreeSql.ISelectGrouping`2.Having(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},System.Boolean}})">
  2794. <summary>
  2795. 按聚合条件过滤,Having(a => a.Count() > 10)
  2796. </summary>
  2797. <param name="exp">lambda表达式</param>
  2798. <returns></returns>
  2799. </member>
  2800. <member name="M:FreeSql.ISelectGrouping`2.HavingIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},System.Boolean}})">
  2801. <summary>
  2802. 按聚合条件过滤,HavingIf(true, a => a.Count() > 10)
  2803. </summary>
  2804. <param name="condition">true 时生效</param>
  2805. <param name="exp">lambda表达式</param>
  2806. <returns></returns>
  2807. </member>
  2808. <member name="M:FreeSql.ISelectGrouping`2.OrderBy``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
  2809. <summary>
  2810. 按列排序,OrderBy(a => a.Time)
  2811. </summary>
  2812. <typeparam name="TMember"></typeparam>
  2813. <param name="column"></param>
  2814. <returns></returns>
  2815. </member>
  2816. <member name="M:FreeSql.ISelectGrouping`2.OrderByDescending``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
  2817. <summary>
  2818. 按列倒向排序,OrderByDescending(a => a.Time)
  2819. </summary>
  2820. <param name="column">列</param>
  2821. <returns></returns>
  2822. </member>
  2823. <member name="M:FreeSql.ISelectGrouping`2.ToList``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
  2824. <summary>
  2825. 执行SQL查询,返回指定字段的记录,记录不存在时返回 Count 为 0 的列表
  2826. </summary>
  2827. <typeparam name="TReturn">返回类型</typeparam>
  2828. <param name="select">选择列</param>
  2829. <returns></returns>
  2830. </member>
  2831. <member name="M:FreeSql.ISelectGrouping`2.First``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
  2832. <summary>
  2833. 执行SQL查询,返回指定字段的记录的第一条记录,记录不存在时返回 TReturn 默认值
  2834. </summary>
  2835. <typeparam name="TReturn"></typeparam>
  2836. <param name="select"></param>
  2837. <returns></returns>
  2838. </member>
  2839. <member name="M:FreeSql.ISelectGrouping`2.Select``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
  2840. <summary>
  2841. 【linq to sql】专用方法,不建议直接使用
  2842. </summary>
  2843. </member>
  2844. <member name="M:FreeSql.ISelectGrouping`2.ToSql``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}},FreeSql.FieldAliasOptions)">
  2845. <summary>
  2846. 返回即将执行的SQL语句
  2847. </summary>
  2848. <typeparam name="TReturn">返回类型</typeparam>
  2849. <param name="select">选择列</param>
  2850. <param name="fieldAlias"></param>
  2851. <returns></returns>
  2852. </member>
  2853. <member name="M:FreeSql.ISelectGrouping`2.ToSql(System.String)">
  2854. <summary>
  2855. 返回即将执行的SQL语句
  2856. </summary>
  2857. <param name="field">指定字段</param>
  2858. <returns></returns>
  2859. </member>
  2860. <member name="M:FreeSql.ISelectGrouping`2.WithTempQuery``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
  2861. <summary>
  2862. 嵌套查询 select * from ( select ... from table group by ... ) a
  2863. </summary>
  2864. <typeparam name="TDto"></typeparam>
  2865. <param name="selector"></param>
  2866. <returns></returns>
  2867. </member>
  2868. <member name="M:FreeSql.ISelectGrouping`2.Skip(System.Int32)">
  2869. <summary>
  2870. 查询向后偏移行数
  2871. </summary>
  2872. <param name="offset"></param>
  2873. <returns></returns>
  2874. </member>
  2875. <member name="M:FreeSql.ISelectGrouping`2.Offset(System.Int32)">
  2876. <summary>
  2877. 查询向后偏移行数
  2878. </summary>
  2879. <param name="offset">行数</param>
  2880. <returns></returns>
  2881. </member>
  2882. <member name="M:FreeSql.ISelectGrouping`2.Limit(System.Int32)">
  2883. <summary>
  2884. 查询多少条数据
  2885. </summary>
  2886. <param name="limit"></param>
  2887. <returns></returns>
  2888. </member>
  2889. <member name="M:FreeSql.ISelectGrouping`2.Take(System.Int32)">
  2890. <summary>
  2891. 查询多少条数据
  2892. </summary>
  2893. <param name="limit"></param>
  2894. <returns></returns>
  2895. </member>
  2896. <member name="M:FreeSql.ISelectGrouping`2.Page(System.Int32,System.Int32)">
  2897. <summary>
  2898. 分页
  2899. </summary>
  2900. <param name="pageNumber">第几页</param>
  2901. <param name="pageSize">每页多少</param>
  2902. <returns></returns>
  2903. </member>
  2904. <member name="M:FreeSql.ISelectGrouping`2.Page(FreeSql.Internal.Model.BasePagingInfo)">
  2905. <summary>
  2906. 分页
  2907. </summary>
  2908. <param name="pagingInfo">分页信息</param>
  2909. <returns></returns>
  2910. </member>
  2911. <member name="M:FreeSql.ISelectGrouping`2.Count">
  2912. <summary>
  2913. 查询的记录数量
  2914. </summary>
  2915. <returns></returns>
  2916. </member>
  2917. <member name="M:FreeSql.ISelectGrouping`2.Count(System.Int64@)">
  2918. <summary>
  2919. 查询的记录数量,以参数out形式返回
  2920. </summary>
  2921. <param name="count">返回的变量</param>
  2922. <returns></returns>
  2923. </member>
  2924. <member name="P:FreeSql.ISelectGroupingAggregate`1.Key">
  2925. <summary>
  2926. 分组的数据
  2927. </summary>
  2928. </member>
  2929. <member name="M:FreeSql.ISelectGroupingAggregate`1.Count">
  2930. <summary>
  2931. 记录总数
  2932. </summary>
  2933. <returns></returns>
  2934. </member>
  2935. <member name="M:FreeSql.ISelectGroupingAggregate`1.Sum``1(``0)">
  2936. <summary>
  2937. 求和
  2938. </summary>
  2939. <typeparam name="T3"></typeparam>
  2940. <param name="column"></param>
  2941. <returns></returns>
  2942. </member>
  2943. <member name="M:FreeSql.ISelectGroupingAggregate`1.Avg``1(``0)">
  2944. <summary>
  2945. 平均值
  2946. </summary>
  2947. <typeparam name="T3"></typeparam>
  2948. <param name="column"></param>
  2949. <returns></returns>
  2950. </member>
  2951. <member name="M:FreeSql.ISelectGroupingAggregate`1.Max``1(``0)">
  2952. <summary>
  2953. 最大值
  2954. </summary>
  2955. <typeparam name="T3"></typeparam>
  2956. <param name="column"></param>
  2957. <returns></returns>
  2958. </member>
  2959. <member name="M:FreeSql.ISelectGroupingAggregate`1.Min``1(``0)">
  2960. <summary>
  2961. 最小值
  2962. </summary>
  2963. <param name="column"></param>
  2964. <returns></returns>
  2965. </member>
  2966. <member name="P:FreeSql.ISelectGroupingAggregate`2.Value">
  2967. <summary>
  2968. 所有元素
  2969. </summary>
  2970. </member>
  2971. <member name="M:FreeSql.IUpdate`1.Join``1(FreeSql.ISelect{``0},System.Linq.Expressions.Expression{System.Func{`0,``0,System.Boolean}})">
  2972. <summary>
  2973. 联表更新(危险操作),支持更复杂的联表更新<para></para>
  2974. fsql.Update&lt;T1&gt;()<para></para>
  2975. .Join(fsql.Select&lt;T1&gt;(), (a, b) => a.id == b.id)<para></para>
  2976. .Set((a, b) => a.name == b.name)<para></para>
  2977. .Set((a, b) => a.time == b.time2)<para></para>
  2978. .ExecuteAffrows();
  2979. </summary>
  2980. <typeparam name="T2"></typeparam>
  2981. <param name="query"></param>
  2982. <param name="on"></param>
  2983. <returns></returns>
  2984. </member>
  2985. <member name="M:FreeSql.IUpdate`1.Join``1(System.Linq.Expressions.Expression{System.Func{`0,``0,System.Boolean}})">
  2986. <summary>
  2987. 联表更新(危险操作)<para></para>
  2988. fsql.Update&lt;T1&gt;()<para></para>
  2989. .Join&lt;T2&gt;((a, b) => a.id == b.id)<para></para>
  2990. .Set((a, b) => a.name == b.name)<para></para>
  2991. .Set((a, b) => a.time == b.time2)<para></para>
  2992. .ExecuteAffrows();
  2993. </summary>
  2994. <typeparam name="T2"></typeparam>
  2995. <param name="on"></param>
  2996. <returns></returns>
  2997. </member>
  2998. <member name="M:FreeSql.IUpdate`1.WithTransaction(System.Data.Common.DbTransaction)">
  2999. <summary>
  3000. 指定事务对象
  3001. </summary>
  3002. <param name="transaction"></param>
  3003. <returns></returns>
  3004. </member>
  3005. <member name="M:FreeSql.IUpdate`1.WithConnection(System.Data.Common.DbConnection)">
  3006. <summary>
  3007. 指定事务对象
  3008. </summary>
  3009. <param name="connection"></param>
  3010. <returns></returns>
  3011. </member>
  3012. <member name="M:FreeSql.IUpdate`1.CommandTimeout(System.Int32)">
  3013. <summary>
  3014. 命令超时设置(秒)
  3015. </summary>
  3016. <param name="timeout"></param>
  3017. <returns></returns>
  3018. </member>
  3019. <member name="M:FreeSql.IUpdate`1.NoneParameter(System.Boolean)">
  3020. <summary>
  3021. 不使用参数化,可通过 IFreeSql.CodeFirst.IsNotCommandParameter 全局性设置
  3022. </summary>
  3023. <param name="isNotCommandParameter">是否不使用参数化</param>
  3024. <returns></returns>
  3025. </member>
  3026. <member name="M:FreeSql.IUpdate`1.BatchOptions(System.Int32,System.Int32,System.Boolean)">
  3027. <summary>
  3028. 批量执行选项设置,一般不需要使用该方法<para></para>
  3029. 各数据库 rows, parameters 限制不一样,默认设置:<para></para>
  3030. MySql 500 3000<para></para>
  3031. PostgreSQL 500 3000<para></para>
  3032. SqlServer 500 2100<para></para>
  3033. Oracle 200 999<para></para>
  3034. Sqlite 200 999<para></para>
  3035. 若没有事务传入,内部(默认)会自动开启新事务,保证拆包执行的完整性。
  3036. </summary>
  3037. <param name="rowsLimit">指定根据 rows 上限数量拆分执行</param>
  3038. <param name="parameterLimit">指定根据 parameters 上限数量拆分执行</param>
  3039. <param name="autoTransaction">是否自动开启事务</param>
  3040. <returns></returns>
  3041. </member>
  3042. <member name="M:FreeSql.IUpdate`1.BatchProgress(System.Action{FreeSql.Internal.Model.BatchProgressStatus{`0}})">
  3043. <summary>
  3044. 批量执行时,分批次执行的进度状态
  3045. </summary>
  3046. <param name="callback">批量执行时的回调委托</param>
  3047. <returns></returns>
  3048. </member>
  3049. <member name="M:FreeSql.IUpdate`1.SetSource(`0)">
  3050. <summary>
  3051. 更新数据,设置更新的实体<para></para>
  3052. 注意:实体必须定义主键,并且最终会自动附加条件 where id = source.Id
  3053. </summary>
  3054. <param name="source">实体</param>
  3055. <returns></returns>
  3056. </member>
  3057. <member name="M:FreeSql.IUpdate`1.SetSource(System.Collections.Generic.IEnumerable{`0},System.Linq.Expressions.Expression{System.Func{`0,System.Object}},System.Boolean)">
  3058. <summary>
  3059. 更新数据,设置更新的实体集合<para></para>
  3060. 注意:实体必须定义主键,并且最终会自动附加条件 where id in (source.Id)
  3061. </summary>
  3062. <param name="source">实体集合</param>
  3063. <param name="tempPrimarys">根据临时主键更新,a => a.Name | a => new{a.Name,a.Time} | a => new[]{"name","time"}</param>
  3064. <param name="ignoreVersion">忽略 IsVersion 乐观锁版本号</param>
  3065. <returns></returns>
  3066. </member>
  3067. <member name="M:FreeSql.IUpdate`1.SetSourceIgnore(`0,System.Func{System.Object,System.Boolean})">
  3068. <summary>
  3069. 更新数据,设置更新的实体,同时设置忽略的列<para></para>
  3070. 忽略 null 属性:fsql.Update&lt;T&gt;().SetSourceAndIgnore(item, colval => colval == null)<para></para>
  3071. 注意:参数 ignore 与 IUpdate.IgnoreColumns/UpdateColumns 不能同时使用
  3072. </summary>
  3073. <param name="source">实体</param>
  3074. <param name="ignore">属性值忽略判断, true忽略</param>
  3075. <returns></returns>
  3076. </member>
  3077. <member name="M:FreeSql.IUpdate`1.IgnoreColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
  3078. <summary>
  3079. 忽略的列,IgnoreColumns(a => a.Name) | IgnoreColumns(a => new{a.Name,a.Time}) | IgnoreColumns(a => new[]{"name","time"})<para></para>
  3080. 注意:不能与 UpdateColumns 不能同时使用
  3081. </summary>
  3082. <param name="columns">lambda选择列</param>
  3083. <returns></returns>
  3084. </member>
  3085. <member name="M:FreeSql.IUpdate`1.IgnoreColumns(System.String[])">
  3086. <summary>
  3087. 忽略的列<para></para>
  3088. 注意:不能与 UpdateColumns 不能同时使用
  3089. </summary>
  3090. <param name="columns">属性名,或者字段名</param>
  3091. <returns></returns>
  3092. </member>
  3093. <member name="M:FreeSql.IUpdate`1.UpdateColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
  3094. <summary>
  3095. 指定的列,UpdateColumns(a => a.Name) | UpdateColumns(a => new{a.Name,a.Time}) | UpdateColumns(a => new[]{"name","time"})<para></para>
  3096. 注意:不能与 IgnoreColumns 不能同时使用
  3097. </summary>
  3098. <param name="columns">lambda选择列</param>
  3099. <returns></returns>
  3100. </member>
  3101. <member name="M:FreeSql.IUpdate`1.UpdateColumns(System.String[])">
  3102. <summary>
  3103. 指定的列<para></para>
  3104. 注意:不能与 IgnoreColumns 同时使用
  3105. </summary>
  3106. <param name="columns">属性名,或者字段名</param>
  3107. <returns></returns>
  3108. </member>
  3109. <member name="M:FreeSql.IUpdate`1.Set``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
  3110. <summary>
  3111. 设置列的新值,Set(a => a.Name, "newvalue")
  3112. </summary>
  3113. <typeparam name="TMember"></typeparam>
  3114. <param name="column">lambda选择列</param>
  3115. <param name="value">新值</param>
  3116. <returns></returns>
  3117. </member>
  3118. <member name="M:FreeSql.IUpdate`1.SetIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
  3119. <summary>
  3120. 设置列的新值,Set(a => a.Name, "newvalue")
  3121. </summary>
  3122. <typeparam name="TMember"></typeparam>
  3123. <param name="condition">true 时生效</param>
  3124. <param name="column">lambda选择列</param>
  3125. <param name="value">新值</param>
  3126. <returns></returns>
  3127. </member>
  3128. <member name="M:FreeSql.IUpdate`1.Set``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  3129. <summary>
  3130. 设置列的新值为基础上增加,格式:Set(a => a.Clicks + 1) 相当于 clicks=clicks+1
  3131. <para></para>
  3132. 指定更新,格式:Set(a => new T { Clicks = a.Clicks + 1, Time = DateTime.Now }) 相当于 set clicks=clicks+1,time='2019-06-19....'
  3133. </summary>
  3134. <typeparam name="TMember"></typeparam>
  3135. <param name="exp"></param>
  3136. <returns></returns>
  3137. </member>
  3138. <member name="M:FreeSql.IUpdate`1.SetIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
  3139. <summary>
  3140. 设置列的新值为基础上增加,格式:Set(a => a.Clicks + 1) 相当于 clicks=clicks+1
  3141. <para></para>
  3142. 指定更新,格式:Set(a => new T { Clicks = a.Clicks + 1, Time = DateTime.Now }) 相当于 set clicks=clicks+1,time='2019-06-19....'
  3143. </summary>
  3144. <typeparam name="TMember"></typeparam>
  3145. <param name="condition">true 时生效</param>
  3146. <param name="exp"></param>
  3147. <returns></returns>
  3148. </member>
  3149. <member name="M:FreeSql.IUpdate`1.SetRaw(System.String,System.Object)">
  3150. <summary>
  3151. 设置值,自定义SQL语法,SetRaw("title = @title", new { title = "newtitle" })<para></para>
  3152. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3153. </summary>
  3154. <param name="sql">sql语法</param>
  3155. <param name="parms">参数</param>
  3156. <returns></returns>
  3157. </member>
  3158. <member name="M:FreeSql.IUpdate`1.SetDto(System.Object)">
  3159. <summary>
  3160. 设置更新的列<para></para>
  3161. SetDto(new { title = "xxx", clicks = 2 })<para></para>
  3162. SetDto(new Dictionary&lt;string, object&gt; { ["title"] = "xxx", ["clicks"] = 2 })<para></para>
  3163. 注意:标记 [Column(CanUpdate = false)] 的属性不会被更新<para></para>
  3164. 注意:SetDto 与 IUpdate.IgnoreColumns/UpdateColumns 不能同时使用
  3165. </summary>
  3166. <param name="dto">dto 或 Dictionary&lt;string, object&gt;</param>
  3167. <returns></returns>
  3168. </member>
  3169. <member name="M:FreeSql.IUpdate`1.SetDtoIgnore(System.Object,System.Func{System.Object,System.Boolean})">
  3170. <summary>
  3171. 设置更新的列<para></para>
  3172. SetDto(new { title = "xxx", clicks = 2 })<para></para>
  3173. SetDto(new Dictionary&lt;string, object&gt; { ["title"] = "xxx", ["clicks"] = 2 })<para></para>
  3174. 注意:标记 [Column(CanUpdate = false)] 的属性不会被更新<para></para>
  3175. 注意:SetDto 与 IUpdate.IgnoreColumns/UpdateColumns 不能同时使用
  3176. </summary>
  3177. <param name="dto">dto 或 Dictionary&lt;string, object&gt;</param>
  3178. <param name="ignore">属性值忽略判断, true忽略</param>
  3179. <returns></returns>
  3180. </member>
  3181. <member name="M:FreeSql.IUpdate`1.Where(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  3182. <summary>
  3183. lambda表达式条件,仅支持实体基础成员(不包含导航对象)<para></para>
  3184. 若想使用导航对象,请使用 ISelect.ToUpdate() 方法
  3185. </summary>
  3186. <param name="exp">lambda表达式条件</param>
  3187. <returns></returns>
  3188. </member>
  3189. <member name="M:FreeSql.IUpdate`1.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
  3190. <summary>
  3191. lambda表达式条件,仅支持实体基础成员(不包含导航对象)<para></para>
  3192. 若想使用导航对象,请使用 ISelect.ToUpdate() 方法
  3193. </summary>
  3194. <param name="condition">true 时生效</param>
  3195. <param name="exp">lambda表达式条件</param>
  3196. <returns></returns>
  3197. </member>
  3198. <member name="M:FreeSql.IUpdate`1.Where(System.String,System.Object)">
  3199. <summary>
  3200. 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
  3201. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3202. </summary>
  3203. <param name="sql">sql语法条件</param>
  3204. <param name="parms">参数</param>
  3205. <returns></returns>
  3206. </member>
  3207. <member name="M:FreeSql.IUpdate`1.Where(`0)">
  3208. <summary>
  3209. 传入实体,将主键作为条件
  3210. </summary>
  3211. <param name="item">实体</param>
  3212. <returns></returns>
  3213. </member>
  3214. <member name="M:FreeSql.IUpdate`1.Where(System.Collections.Generic.IEnumerable{`0})">
  3215. <summary>
  3216. 传入实体集合,将主键作为条件
  3217. </summary>
  3218. <param name="items">实体集合</param>
  3219. <returns></returns>
  3220. </member>
  3221. <member name="M:FreeSql.IUpdate`1.WhereDynamic(System.Object,System.Boolean)">
  3222. <summary>
  3223. 传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  3224. </summary>
  3225. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  3226. <param name="not">是否标识为NOT</param>
  3227. <returns></returns>
  3228. </member>
  3229. <member name="M:FreeSql.IUpdate`1.WhereDynamicFilter(FreeSql.Internal.Model.DynamicFilterInfo)">
  3230. <summary>
  3231. 动态过滤条件
  3232. </summary>
  3233. <param name="filter"></param>
  3234. <returns></returns>
  3235. </member>
  3236. <member name="M:FreeSql.IUpdate`1.DisableGlobalFilter(System.String[])">
  3237. <summary>
  3238. 禁用全局过滤功能,不传参数时将禁用所有
  3239. </summary>
  3240. <param name="name">零个或多个过滤器名字</param>
  3241. <returns></returns>
  3242. </member>
  3243. <member name="M:FreeSql.IUpdate`1.AsTable(System.Func{System.String,System.String})">
  3244. <summary>
  3245. 设置表名规则,可用于分库/分表,参数1:默认表名;返回值:新表名;
  3246. </summary>
  3247. <param name="tableRule"></param>
  3248. <returns></returns>
  3249. </member>
  3250. <member name="M:FreeSql.IUpdate`1.AsTable(System.String)">
  3251. <summary>
  3252. 设置表名
  3253. </summary>
  3254. <param name="tableName"></param>
  3255. <returns></returns>
  3256. </member>
  3257. <member name="M:FreeSql.IUpdate`1.AsType(System.Type)">
  3258. <summary>
  3259. 动态Type,在使用 Update&lt;object&gt; 后使用本方法,指定实体类型
  3260. </summary>
  3261. <param name="entityType"></param>
  3262. <returns></returns>
  3263. </member>
  3264. <member name="M:FreeSql.IUpdate`1.ToSql">
  3265. <summary>
  3266. 返回即将执行的SQL语句
  3267. </summary>
  3268. <returns></returns>
  3269. </member>
  3270. <member name="M:FreeSql.IUpdate`1.ExecuteAffrows">
  3271. <summary>
  3272. 执行SQL语句,返回影响的行数
  3273. </summary>
  3274. <returns></returns>
  3275. </member>
  3276. <member name="M:FreeSql.IUpdate`1.ExecuteUpdated">
  3277. <summary>
  3278. 执行SQL语句,返回更新后的记录<para></para>
  3279. 注意:此方法只有 Postgresql/SqlServer 有效果
  3280. </summary>
  3281. <returns></returns>
  3282. </member>
  3283. <member name="M:FreeSql.IUpdate`1.ExecuteUpdatedAsync(System.Threading.CancellationToken)">
  3284. <summary>
  3285. 执行SQL语句,返回更新后的记录<para></para>
  3286. 注意:此方法只有 Postgresql/SqlServer 有效果
  3287. </summary>
  3288. <returns></returns>
  3289. </member>
  3290. <member name="M:FreeSql.IUpdateJoin`2.WithTransaction(System.Data.Common.DbTransaction)">
  3291. <summary>
  3292. 指定事务对象
  3293. </summary>
  3294. <param name="transaction"></param>
  3295. <returns></returns>
  3296. </member>
  3297. <member name="M:FreeSql.IUpdateJoin`2.WithConnection(System.Data.Common.DbConnection)">
  3298. <summary>
  3299. 指定事务对象
  3300. </summary>
  3301. <param name="connection"></param>
  3302. <returns></returns>
  3303. </member>
  3304. <member name="M:FreeSql.IUpdateJoin`2.CommandTimeout(System.Int32)">
  3305. <summary>
  3306. 命令超时设置(秒)
  3307. </summary>
  3308. <param name="timeout"></param>
  3309. <returns></returns>
  3310. </member>
  3311. <member name="M:FreeSql.IUpdateJoin`2.Set``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
  3312. <summary>
  3313. 设置列的固定新值,Set(a => a.Name, "newvalue")
  3314. </summary>
  3315. <typeparam name="TMember"></typeparam>
  3316. <param name="column">lambda选择列</param>
  3317. <param name="value">新值</param>
  3318. <returns></returns>
  3319. </member>
  3320. <member name="M:FreeSql.IUpdateJoin`2.SetIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
  3321. <summary>
  3322. 设置列的固定新值,Set(a => a.Name, "newvalue")
  3323. </summary>
  3324. <typeparam name="TMember"></typeparam>
  3325. <param name="condition">true 时生效</param>
  3326. <param name="column">lambda选择列</param>
  3327. <param name="value">新值</param>
  3328. <returns></returns>
  3329. </member>
  3330. <member name="M:FreeSql.IUpdateJoin`2.Set(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">
  3331. <summary>
  3332. 设置列的联表值,格式:<para></para>
  3333. Set((a, b) => a.Clicks == b.xxx)<para></para>
  3334. Set((a, b) => a.Clicks == a.Clicks + 1)
  3335. </summary>
  3336. <param name="exp"></param>
  3337. <returns></returns>
  3338. </member>
  3339. <member name="M:FreeSql.IUpdateJoin`2.SetIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">
  3340. <summary>
  3341. 设置列的联表值,格式:<para></para>
  3342. Set((a, b) => a.Clicks == b.xxx)<para></para>
  3343. Set((a, b) => a.Clicks == a.Clicks + 1)
  3344. <para></para>
  3345. </summary>
  3346. <param name="condition">true 时生效</param>
  3347. <param name="exp"></param>
  3348. <returns></returns>
  3349. </member>
  3350. <member name="M:FreeSql.IUpdateJoin`2.SetRaw(System.String,System.Object)">
  3351. <summary>
  3352. 设置值,自定义SQL语法,SetRaw("title = @title", new { title = "newtitle" })<para></para>
  3353. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3354. </summary>
  3355. <param name="sql">sql语法</param>
  3356. <param name="parms">参数</param>
  3357. <returns></returns>
  3358. </member>
  3359. <member name="M:FreeSql.IUpdateJoin`2.Where(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">
  3360. <summary>
  3361. lambda表达式条件,仅支持实体基础成员(不包含导航对象)
  3362. </summary>
  3363. <param name="exp">lambda表达式条件</param>
  3364. <returns></returns>
  3365. </member>
  3366. <member name="M:FreeSql.IUpdateJoin`2.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">
  3367. <summary>
  3368. lambda表达式条件,仅支持实体基础成员(不包含导航对象)
  3369. </summary>
  3370. <param name="condition">true 时生效</param>
  3371. <param name="exp">lambda表达式条件</param>
  3372. <returns></returns>
  3373. </member>
  3374. <member name="M:FreeSql.IUpdateJoin`2.Where(System.String,System.Object)">
  3375. <summary>
  3376. 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
  3377. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3378. </summary>
  3379. <param name="sql">sql语法条件</param>
  3380. <param name="parms">参数</param>
  3381. <returns></returns>
  3382. </member>
  3383. <member name="M:FreeSql.IUpdateJoin`2.DisableGlobalFilter(System.String[])">
  3384. <summary>
  3385. 禁用全局过滤功能,不传参数时将禁用所有
  3386. </summary>
  3387. <param name="name">零个或多个过滤器名字</param>
  3388. <returns></returns>
  3389. </member>
  3390. <member name="M:FreeSql.IUpdateJoin`2.AsTable(System.String,System.String)">
  3391. <summary>
  3392. 设置表名
  3393. </summary>
  3394. <param name="tableName"></param>
  3395. <param name="joinTableName"></param>
  3396. <returns></returns>
  3397. </member>
  3398. <member name="M:FreeSql.IUpdateJoin`2.ToSql">
  3399. <summary>
  3400. 返回即将执行的SQL语句
  3401. </summary>
  3402. <returns></returns>
  3403. </member>
  3404. <member name="M:FreeSql.IUpdateJoin`2.ExecuteAffrows">
  3405. <summary>
  3406. 执行SQL语句,返回影响的行数
  3407. </summary>
  3408. <returns></returns>
  3409. </member>
  3410. <member name="P:FreeSql.IAdo.MasterPool">
  3411. <summary>
  3412. 主库连接池
  3413. </summary>
  3414. </member>
  3415. <member name="P:FreeSql.IAdo.SlavePools">
  3416. <summary>
  3417. 从库连接池
  3418. </summary>
  3419. </member>
  3420. <member name="P:FreeSql.IAdo.DataType">
  3421. <summary>
  3422. 数据库类型
  3423. </summary>
  3424. </member>
  3425. <member name="P:FreeSql.IAdo.ConnectionString">
  3426. <summary>
  3427. UseConnectionString 时候的值
  3428. </summary>
  3429. </member>
  3430. <member name="P:FreeSql.IAdo.SlaveConnectionStrings">
  3431. <summary>
  3432. UseSalve 时候的值
  3433. </summary>
  3434. </member>
  3435. <member name="P:FreeSql.IAdo.Identifier">
  3436. <summary>
  3437. 唯一标识
  3438. </summary>
  3439. </member>
  3440. <member name="M:FreeSql.IAdo.Transaction(System.Action)">
  3441. <summary>
  3442. 开启事务(不支持异步)
  3443. </summary>
  3444. <param name="handler">事务体 () => {}</param>
  3445. </member>
  3446. <member name="M:FreeSql.IAdo.Transaction(System.Data.IsolationLevel,System.Action)">
  3447. <summary>
  3448. 开启事务(不支持异步)
  3449. </summary>
  3450. <param name="isolationLevel"></param>
  3451. <param name="handler">事务体 () => {}</param>
  3452. </member>
  3453. <member name="P:FreeSql.IAdo.TransactionCurrentThread">
  3454. <summary>
  3455. 当前线程的事务
  3456. </summary>
  3457. </member>
  3458. <member name="M:FreeSql.IAdo.GetDbParamtersByObject(System.Object)">
  3459. <summary>
  3460. 将 new { id = 1 } 或者 Dictionary&lt;string, object&gt; 转换为 DbParameter[]
  3461. </summary>
  3462. <param name="obj">new { id = 1 } 或者 Dictionary&lt;string, object&gt;</param>
  3463. <returns></returns>
  3464. </member>
  3465. <member name="M:FreeSql.IAdo.CommandFluent(System.String,System.Object)">
  3466. <summary>
  3467. SQL 命令执行类,fsql.Ado.CommandFluent("select * from user where age > @age", new { age = 25 })<para></para>
  3468. .WithConnection(connection)<para></para>
  3469. .WithTransaction(transaction)<para></para>
  3470. .WithParameter("age", 25)<para></para>
  3471. .WithParameter("id", 11)<para></para>
  3472. .CommandType(CommandType.Text)<para></para>
  3473. .CommandTimeout(60)<para></para>
  3474. .Query&lt;T&gt;(); 或者 ExecuteNonQuery/ExecuteScalar/ExecuteDataTable/ExecuteDataSet/ExecuteArray
  3475. </summary>
  3476. <param name="cmdText"></param>
  3477. <param name="parms"></param>
  3478. <returns></returns>
  3479. </member>
  3480. <member name="M:FreeSql.IAdo.ExecuteConnectTest(System.Int32)">
  3481. <summary>
  3482. 测试数据库是否连接正确,本方法执行如下命令:<para></para>
  3483. MySql/SqlServer/PostgreSQL/达梦/人大金仓/神通: SELECT 1<para></para>
  3484. Oracle: SELECT 1 FROM dual<para></para>
  3485. </summary>
  3486. <param name="commandTimeout">命令超时设置(秒)</param>
  3487. <returns>true: 成功, false: 失败</returns>
  3488. </member>
  3489. <member name="M:FreeSql.IAdo.ExecuteReader(System.Action{FreeSql.Internal.Model.FetchCallbackArgs{System.Data.Common.DbDataReader}},System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
  3490. <summary>
  3491. 查询,若使用读写分离,查询【从库】条件cmdText.StartsWith("SELECT "),否则查询【主库】
  3492. </summary>
  3493. <param name="fetchHandler"></param>
  3494. <param name="cmdType"></param>
  3495. <param name="cmdText"></param>
  3496. <param name="cmdParms"></param>
  3497. </member>
  3498. <member name="M:FreeSql.IAdo.ExecuteReader(System.Action{FreeSql.Internal.Model.FetchCallbackArgs{System.Data.Common.DbDataReader}},System.String,System.Object)">
  3499. <summary>
  3500. 查询,ExecuteReader(dr => {}, "select * from user where age > @age", new { age = 25 })<para></para>
  3501. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3502. </summary>
  3503. <param name="fetchHandler"></param>
  3504. <param name="cmdText"></param>
  3505. <param name="parms"></param>
  3506. </member>
  3507. <member name="M:FreeSql.IAdo.ExecuteArray(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
  3508. <summary>
  3509. 查询
  3510. </summary>
  3511. <param name="cmdType"></param>
  3512. <param name="cmdText"></param>
  3513. <param name="cmdParms"></param>
  3514. </member>
  3515. <member name="M:FreeSql.IAdo.ExecuteArray(System.String,System.Object)">
  3516. <summary>
  3517. 查询,ExecuteArray("select * from user where age > @age", new { age = 25 })<para></para>
  3518. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3519. </summary>
  3520. <param name="cmdText"></param>
  3521. <param name="parms"></param>
  3522. <returns></returns>
  3523. </member>
  3524. <member name="M:FreeSql.IAdo.ExecuteDataSet(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
  3525. <summary>
  3526. 查询
  3527. </summary>
  3528. <param name="cmdType"></param>
  3529. <param name="cmdText"></param>
  3530. <param name="cmdParms"></param>
  3531. </member>
  3532. <member name="M:FreeSql.IAdo.ExecuteDataSet(System.String,System.Object)">
  3533. <summary>
  3534. 查询,ExecuteDataSet("select * from user where age > @age; select 2", new { age = 25 })<para></para>
  3535. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3536. </summary>
  3537. <param name="cmdText"></param>
  3538. <param name="parms"></param>
  3539. <returns></returns>
  3540. </member>
  3541. <member name="M:FreeSql.IAdo.ExecuteDataTable(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
  3542. <summary>
  3543. 查询
  3544. </summary>
  3545. <param name="cmdType"></param>
  3546. <param name="cmdText"></param>
  3547. <param name="cmdParms"></param>
  3548. </member>
  3549. <member name="M:FreeSql.IAdo.ExecuteDataTable(System.String,System.Object)">
  3550. <summary>
  3551. 查询,ExecuteDataTable("select * from user where age > @age", new { age = 25 })<para></para>
  3552. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3553. </summary>
  3554. <param name="cmdText"></param>
  3555. <param name="parms"></param>
  3556. <returns></returns>
  3557. </member>
  3558. <member name="M:FreeSql.IAdo.ExecuteNonQuery(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
  3559. <summary>
  3560. 在【主库】执行
  3561. </summary>
  3562. <param name="cmdType"></param>
  3563. <param name="cmdText"></param>
  3564. <param name="cmdParms"></param>
  3565. </member>
  3566. <member name="M:FreeSql.IAdo.ExecuteNonQuery(System.String,System.Object)">
  3567. <summary>
  3568. 在【主库】执行,ExecuteNonQuery("delete from user where age > @age", new { age = 25 })<para></para>
  3569. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3570. </summary>
  3571. <param name="cmdText"></param>
  3572. <param name="parms"></param>
  3573. <returns></returns>
  3574. </member>
  3575. <member name="M:FreeSql.IAdo.ExecuteScalar(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
  3576. <summary>
  3577. 在【主库】执行
  3578. </summary>
  3579. <param name="cmdType"></param>
  3580. <param name="cmdText"></param>
  3581. <param name="cmdParms"></param>
  3582. </member>
  3583. <member name="M:FreeSql.IAdo.ExecuteScalar(System.String,System.Object)">
  3584. <summary>
  3585. 在【主库】执行,ExecuteScalar("select 1 from user where age > @age", new { age = 25 })<para></para>
  3586. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3587. </summary>
  3588. <param name="cmdText"></param>
  3589. <param name="parms"></param>
  3590. <returns></returns>
  3591. </member>
  3592. <member name="M:FreeSql.IAdo.Query``1(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
  3593. <summary>
  3594. 执行SQL返回对象集合,Query&lt;User&gt;("select * from user where age > @age", new SqlParameter { ParameterName = "age", Value = 25 })
  3595. </summary>
  3596. <typeparam name="T"></typeparam>
  3597. <param name="cmdType"></param>
  3598. <param name="cmdText"></param>
  3599. <param name="cmdParms"></param>
  3600. <returns></returns>
  3601. </member>
  3602. <member name="M:FreeSql.IAdo.Query``1(System.String,System.Object)">
  3603. <summary>
  3604. 执行SQL返回对象集合,Query&lt;User&gt;("select * from user where age > @age", new { age = 25 })<para></para>
  3605. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3606. </summary>
  3607. <typeparam name="T"></typeparam>
  3608. <param name="cmdText"></param>
  3609. <param name="parms"></param>
  3610. <returns></returns>
  3611. </member>
  3612. <member name="M:FreeSql.IAdo.Query``2(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
  3613. <summary>
  3614. 执行SQL返回对象集合,Query&lt;User&gt;("select * from user where age > @age; select * from address", new SqlParameter { ParameterName = "age", Value = 25 })
  3615. </summary>
  3616. <typeparam name="T1"></typeparam>
  3617. <typeparam name="T2"></typeparam>
  3618. <param name="cmdType"></param>
  3619. <param name="cmdText"></param>
  3620. <param name="cmdParms"></param>
  3621. <returns></returns>
  3622. </member>
  3623. <member name="M:FreeSql.IAdo.Query``2(System.String,System.Object)">
  3624. <summary>
  3625. 执行SQL返回对象集合,Query&lt;User&gt;("select * from user where age > @age; select * from address", new { age = 25 })<para></para>
  3626. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3627. </summary>
  3628. <typeparam name="T1"></typeparam>
  3629. <typeparam name="T2"></typeparam>
  3630. <param name="cmdText"></param>
  3631. <param name="parms"></param>
  3632. <returns></returns>
  3633. </member>
  3634. <member name="M:FreeSql.IAdo.ExecuteConnectTestAsync(System.Int32,System.Threading.CancellationToken)">
  3635. <summary>
  3636. 测试数据库是否连接正确,本方法执行如下命令:<para></para>
  3637. MySql/SqlServer/PostgreSQL/达梦/人大金仓/神通: SELECT 1<para></para>
  3638. Oracle: SELECT 1 FROM dual<para></para>
  3639. </summary>
  3640. <param name="commandTimeout">命令超时设置(秒)</param>
  3641. <param name="cancellationToken"></param>
  3642. <returns>true: 成功, false: 失败</returns>
  3643. </member>
  3644. <member name="M:FreeSql.IAdo.ExecuteReaderAsync(System.Func{FreeSql.Internal.Model.FetchCallbackArgs{System.Data.Common.DbDataReader},System.Threading.Tasks.Task},System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
  3645. <summary>
  3646. 查询,若使用读写分离,查询【从库】条件cmdText.StartsWith("SELECT "),否则查询【主库】
  3647. </summary>
  3648. <param name="readerHander"></param>
  3649. <param name="cmdType"></param>
  3650. <param name="cmdText"></param>
  3651. <param name="cmdParms"></param>
  3652. <param name="cancellationToken"></param>
  3653. </member>
  3654. <member name="M:FreeSql.IAdo.ExecuteReaderAsync(System.Func{FreeSql.Internal.Model.FetchCallbackArgs{System.Data.Common.DbDataReader},System.Threading.Tasks.Task},System.String,System.Object,System.Threading.CancellationToken)">
  3655. <summary>
  3656. 查询,ExecuteReaderAsync(dr => {}, "select * from user where age > @age", new { age = 25 })<para></para>
  3657. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3658. </summary>
  3659. <param name="readerHander"></param>
  3660. <param name="cmdText"></param>
  3661. <param name="parms"></param>
  3662. <param name="cancellationToken"></param>
  3663. </member>
  3664. <member name="M:FreeSql.IAdo.ExecuteArrayAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
  3665. <summary>
  3666. 查询
  3667. </summary>
  3668. <param name="cmdType"></param>
  3669. <param name="cmdText"></param>
  3670. <param name="cmdParms"></param>
  3671. <param name="cancellationToken"></param>
  3672. </member>
  3673. <member name="M:FreeSql.IAdo.ExecuteArrayAsync(System.String,System.Object,System.Threading.CancellationToken)">
  3674. <summary>
  3675. 查询,ExecuteArrayAsync("select * from user where age > @age", new { age = 25 })<para></para>
  3676. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3677. </summary>
  3678. <param name="cmdText"></param>
  3679. <param name="parms"></param>
  3680. <param name="cancellationToken"></param>
  3681. <returns></returns>
  3682. </member>
  3683. <member name="M:FreeSql.IAdo.ExecuteDataSetAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
  3684. <summary>
  3685. 查询
  3686. </summary>
  3687. <param name="cmdType"></param>
  3688. <param name="cmdText"></param>
  3689. <param name="cmdParms"></param>
  3690. <param name="cancellationToken"></param>
  3691. </member>
  3692. <member name="M:FreeSql.IAdo.ExecuteDataSetAsync(System.String,System.Object,System.Threading.CancellationToken)">
  3693. <summary>
  3694. 查询,ExecuteDataSetAsync("select * from user where age > @age; select 2", new { age = 25 })<para></para>
  3695. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3696. </summary>
  3697. <param name="cmdText"></param>
  3698. <param name="parms"></param>
  3699. <param name="cancellationToken"></param>
  3700. <returns></returns>
  3701. </member>
  3702. <member name="M:FreeSql.IAdo.ExecuteDataTableAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
  3703. <summary>
  3704. 查询
  3705. </summary>
  3706. <param name="cmdType"></param>
  3707. <param name="cmdText"></param>
  3708. <param name="cmdParms"></param>
  3709. <param name="cancellationToken"></param>
  3710. </member>
  3711. <member name="M:FreeSql.IAdo.ExecuteDataTableAsync(System.String,System.Object,System.Threading.CancellationToken)">
  3712. <summary>
  3713. 查询,ExecuteDataTableAsync("select * from user where age > @age", new { age = 25 })<para></para>
  3714. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3715. </summary>
  3716. <param name="cmdText"></param>
  3717. <param name="parms"></param>
  3718. <param name="cancellationToken"></param>
  3719. <returns></returns>
  3720. </member>
  3721. <member name="M:FreeSql.IAdo.ExecuteNonQueryAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
  3722. <summary>
  3723. 在【主库】执行
  3724. </summary>
  3725. <param name="cmdType"></param>
  3726. <param name="cmdText"></param>
  3727. <param name="cmdParms"></param>
  3728. <param name="cancellationToken"></param>
  3729. </member>
  3730. <member name="M:FreeSql.IAdo.ExecuteNonQueryAsync(System.String,System.Object,System.Threading.CancellationToken)">
  3731. <summary>
  3732. 在【主库】执行,ExecuteNonQueryAsync("delete from user where age > @age", new { age = 25 })<para></para>
  3733. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3734. </summary>
  3735. <param name="cmdText"></param>
  3736. <param name="parms"></param>
  3737. <param name="cancellationToken"></param>
  3738. <returns></returns>
  3739. </member>
  3740. <member name="M:FreeSql.IAdo.ExecuteScalarAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
  3741. <summary>
  3742. 在【主库】执行
  3743. </summary>
  3744. <param name="cmdType"></param>
  3745. <param name="cmdText"></param>
  3746. <param name="cmdParms"></param>
  3747. <param name="cancellationToken"></param>
  3748. </member>
  3749. <member name="M:FreeSql.IAdo.ExecuteScalarAsync(System.String,System.Object,System.Threading.CancellationToken)">
  3750. <summary>
  3751. 在【主库】执行,ExecuteScalarAsync("select 1 from user where age > @age", new { age = 25 })<para></para>
  3752. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3753. </summary>
  3754. <param name="cmdText"></param>
  3755. <param name="parms"></param>
  3756. <param name="cancellationToken"></param>
  3757. <returns></returns>
  3758. </member>
  3759. <member name="M:FreeSql.IAdo.QueryAsync``1(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
  3760. <summary>
  3761. 执行SQL返回对象集合,QueryAsync&lt;User&gt;("select * from user where age > @age", new SqlParameter { ParameterName = "age", Value = 25 })
  3762. </summary>
  3763. <typeparam name="T"></typeparam>
  3764. <param name="cmdType"></param>
  3765. <param name="cmdText"></param>
  3766. <param name="cmdParms"></param>
  3767. <param name="cancellationToken"></param>
  3768. <returns></returns>
  3769. </member>
  3770. <member name="M:FreeSql.IAdo.QueryAsync``1(System.String,System.Object,System.Threading.CancellationToken)">
  3771. <summary>
  3772. 执行SQL返回对象集合,QueryAsync&lt;User&gt;("select * from user where age > @age", new { age = 25 })<para></para>
  3773. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3774. </summary>
  3775. <typeparam name="T"></typeparam>
  3776. <param name="cmdText"></param>
  3777. <param name="parms"></param>
  3778. <param name="cancellationToken"></param>
  3779. <returns></returns>
  3780. </member>
  3781. <member name="M:FreeSql.IAdo.QueryAsync``2(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
  3782. <summary>
  3783. 执行SQL返回对象集合,Query&lt;User&gt;("select * from user where age > @age; select * from address", new SqlParameter { ParameterName = "age", Value = 25 })
  3784. </summary>
  3785. <typeparam name="T1"></typeparam>
  3786. <typeparam name="T2"></typeparam>
  3787. <param name="cmdType"></param>
  3788. <param name="cmdText"></param>
  3789. <param name="cmdParms"></param>
  3790. <param name="cancellationToken"></param>
  3791. <returns></returns>
  3792. </member>
  3793. <member name="M:FreeSql.IAdo.QueryAsync``2(System.String,System.Object,System.Threading.CancellationToken)">
  3794. <summary>
  3795. 执行SQL返回对象集合,Query&lt;User, Address&gt;("select * from user where age > @age; select * from address", new { age = 25 })<para></para>
  3796. 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
  3797. </summary>
  3798. <typeparam name="T1"></typeparam>
  3799. <typeparam name="T2"></typeparam>
  3800. <param name="cmdText"></param>
  3801. <param name="parms"></param>
  3802. <param name="cancellationToken"></param>
  3803. <returns></returns>
  3804. </member>
  3805. <member name="E:FreeSql.IAop.ParseExpression">
  3806. <summary>
  3807. 可自定义解析表达式
  3808. </summary>
  3809. </member>
  3810. <member name="E:FreeSql.IAop.ConfigEntity">
  3811. <summary>
  3812. 自定义实体的配置,方便和多个 ORM 共同使用
  3813. </summary>
  3814. </member>
  3815. <member name="E:FreeSql.IAop.ConfigEntityProperty">
  3816. <summary>
  3817. 自定义实体的属性配置,方便和多个 ORM 共同使用
  3818. </summary>
  3819. </member>
  3820. <member name="E:FreeSql.IAop.CurdBefore">
  3821. <summary>
  3822. 增删查改,执行命令之前触发
  3823. </summary>
  3824. </member>
  3825. <member name="E:FreeSql.IAop.CurdAfter">
  3826. <summary>
  3827. 增删查改,执行命令完成后触发
  3828. </summary>
  3829. </member>
  3830. <member name="E:FreeSql.IAop.SyncStructureBefore">
  3831. <summary>
  3832. CodeFirst迁移,执行之前触发
  3833. </summary>
  3834. </member>
  3835. <member name="E:FreeSql.IAop.SyncStructureAfter">
  3836. <summary>
  3837. CodeFirst迁移,执行完成触发
  3838. </summary>
  3839. </member>
  3840. <member name="E:FreeSql.IAop.AuditValue">
  3841. <summary>
  3842. Insert/Update自动值处理
  3843. </summary>
  3844. </member>
  3845. <member name="E:FreeSql.IAop.AuditDataReader">
  3846. <summary>
  3847. ADO.NET DataReader 拦截
  3848. </summary>
  3849. </member>
  3850. <member name="E:FreeSql.IAop.CommandBefore">
  3851. <summary>
  3852. 监视数据库命令对象(执行前,调试)
  3853. </summary>
  3854. </member>
  3855. <member name="E:FreeSql.IAop.CommandAfter">
  3856. <summary>
  3857. 监视数据库命令对象(执行后,用于监视执行性能)
  3858. </summary>
  3859. </member>
  3860. <member name="E:FreeSql.IAop.TraceBefore">
  3861. <summary>
  3862. 跟踪开始
  3863. </summary>
  3864. </member>
  3865. <member name="E:FreeSql.IAop.TraceAfter">
  3866. <summary>
  3867. 跟踪结束
  3868. </summary>
  3869. </member>
  3870. <member name="P:FreeSql.Aop.ParseExpressionEventArgs.FreeParse">
  3871. <summary>
  3872. 内置解析功能,可辅助您进行解析
  3873. </summary>
  3874. </member>
  3875. <member name="P:FreeSql.Aop.ParseExpressionEventArgs.Expression">
  3876. <summary>
  3877. 需要您解析的表达式
  3878. </summary>
  3879. </member>
  3880. <member name="P:FreeSql.Aop.ParseExpressionEventArgs.Result">
  3881. <summary>
  3882. 解析后的内容
  3883. </summary>
  3884. </member>
  3885. <member name="P:FreeSql.Aop.ConfigEntityEventArgs.EntityType">
  3886. <summary>
  3887. 实体类型
  3888. </summary>
  3889. </member>
  3890. <member name="P:FreeSql.Aop.ConfigEntityEventArgs.ModifyResult">
  3891. <summary>
  3892. 实体配置
  3893. </summary>
  3894. </member>
  3895. <member name="P:FreeSql.Aop.ConfigEntityEventArgs.ModifyIndexResult">
  3896. <summary>
  3897. 索引配置
  3898. </summary>
  3899. </member>
  3900. <member name="P:FreeSql.Aop.ConfigEntityPropertyEventArgs.EntityType">
  3901. <summary>
  3902. 实体类型
  3903. </summary>
  3904. </member>
  3905. <member name="P:FreeSql.Aop.ConfigEntityPropertyEventArgs.Property">
  3906. <summary>
  3907. 实体的属性
  3908. </summary>
  3909. </member>
  3910. <member name="P:FreeSql.Aop.ConfigEntityPropertyEventArgs.ModifyResult">
  3911. <summary>
  3912. 实体的属性配置
  3913. </summary>
  3914. </member>
  3915. <member name="P:FreeSql.Aop.CurdBeforeEventArgs.Identifier">
  3916. <summary>
  3917. 标识符,可将 CurdBefore 与 CurdAfter 进行匹配
  3918. </summary>
  3919. </member>
  3920. <member name="P:FreeSql.Aop.CurdBeforeEventArgs.CurdType">
  3921. <summary>
  3922. 操作类型
  3923. </summary>
  3924. </member>
  3925. <member name="P:FreeSql.Aop.CurdBeforeEventArgs.EntityType">
  3926. <summary>
  3927. 实体类型
  3928. </summary>
  3929. </member>
  3930. <member name="P:FreeSql.Aop.CurdBeforeEventArgs.Table">
  3931. <summary>
  3932. 实体类型的元数据
  3933. </summary>
  3934. </member>
  3935. <member name="P:FreeSql.Aop.CurdBeforeEventArgs.Sql">
  3936. <summary>
  3937. 执行的 SQL
  3938. </summary>
  3939. </member>
  3940. <member name="P:FreeSql.Aop.CurdBeforeEventArgs.DbParms">
  3941. <summary>
  3942. 参数化命令
  3943. </summary>
  3944. </member>
  3945. <member name="P:FreeSql.Aop.CurdBeforeEventArgs.States">
  3946. <summary>
  3947. 状态数据,可与 CurdAfter 共享
  3948. </summary>
  3949. </member>
  3950. <member name="P:FreeSql.Aop.CurdAfterEventArgs.Exception">
  3951. <summary>
  3952. 发生的错误
  3953. </summary>
  3954. </member>
  3955. <member name="P:FreeSql.Aop.CurdAfterEventArgs.ExecuteResult">
  3956. <summary>
  3957. 执行SQL命令,返回的结果
  3958. </summary>
  3959. </member>
  3960. <member name="P:FreeSql.Aop.CurdAfterEventArgs.ElapsedTicks">
  3961. <summary>
  3962. 耗时(单位:Ticks)
  3963. </summary>
  3964. </member>
  3965. <member name="P:FreeSql.Aop.CurdAfterEventArgs.ElapsedMilliseconds">
  3966. <summary>
  3967. 耗时(单位:毫秒)
  3968. </summary>
  3969. </member>
  3970. <member name="P:FreeSql.Aop.SyncStructureBeforeEventArgs.Identifier">
  3971. <summary>
  3972. 标识符,可将 SyncStructureBeforeEventArgs 与 SyncStructureAfterEventArgs 进行匹配
  3973. </summary>
  3974. </member>
  3975. <member name="P:FreeSql.Aop.SyncStructureBeforeEventArgs.EntityTypes">
  3976. <summary>
  3977. 实体类型
  3978. </summary>
  3979. </member>
  3980. <member name="P:FreeSql.Aop.SyncStructureBeforeEventArgs.States">
  3981. <summary>
  3982. 状态数据,可与 SyncStructureAfter 共享
  3983. </summary>
  3984. </member>
  3985. <member name="P:FreeSql.Aop.SyncStructureAfterEventArgs.Sql">
  3986. <summary>
  3987. 执行的 SQL
  3988. </summary>
  3989. </member>
  3990. <member name="P:FreeSql.Aop.SyncStructureAfterEventArgs.Exception">
  3991. <summary>
  3992. 发生的错误
  3993. </summary>
  3994. </member>
  3995. <member name="P:FreeSql.Aop.SyncStructureAfterEventArgs.ElapsedTicks">
  3996. <summary>
  3997. 耗时(单位:Ticks)
  3998. </summary>
  3999. </member>
  4000. <member name="P:FreeSql.Aop.SyncStructureAfterEventArgs.ElapsedMilliseconds">
  4001. <summary>
  4002. 耗时(单位:毫秒)
  4003. </summary>
  4004. </member>
  4005. <member name="P:FreeSql.Aop.AuditValueEventArgs.AuditValueType">
  4006. <summary>
  4007. 类型
  4008. </summary>
  4009. </member>
  4010. <member name="P:FreeSql.Aop.AuditValueEventArgs.Column">
  4011. <summary>
  4012. 属性列的元数据
  4013. </summary>
  4014. </member>
  4015. <member name="P:FreeSql.Aop.AuditValueEventArgs.Property">
  4016. <summary>
  4017. 反射的属性信息
  4018. </summary>
  4019. </member>
  4020. <member name="P:FreeSql.Aop.AuditValueEventArgs.Value">
  4021. <summary>
  4022. 获取实体的属性值,也可以设置实体的属性新值
  4023. </summary>
  4024. </member>
  4025. <member name="P:FreeSql.Aop.AuditValueEventArgs.Object">
  4026. <summary>
  4027. 实体对象
  4028. </summary>
  4029. </member>
  4030. <member name="P:FreeSql.Aop.AuditValueEventArgs.ObjectAuditBreak">
  4031. <summary>
  4032. 中断实体对象审计<para></para>
  4033. false: 每个实体对象的属性都会审计(默认)<para></para>
  4034. true: 每个实体对象只审计一次
  4035. </summary>
  4036. </member>
  4037. <member name="P:FreeSql.Aop.AuditDataReaderEventArgs.DataReader">
  4038. <summary>
  4039. ADO.NET 数据流读取对象
  4040. </summary>
  4041. </member>
  4042. <member name="P:FreeSql.Aop.AuditDataReaderEventArgs.Index">
  4043. <summary>
  4044. DataReader 对应的 Index 位置
  4045. </summary>
  4046. </member>
  4047. <member name="P:FreeSql.Aop.AuditDataReaderEventArgs.Property">
  4048. <summary>
  4049. DataReader 对应的 PropertyInfo
  4050. </summary>
  4051. </member>
  4052. <member name="P:FreeSql.Aop.AuditDataReaderEventArgs.Value">
  4053. <summary>
  4054. 获取 Index 对应的值,也可以设置拦截的新值
  4055. </summary>
  4056. </member>
  4057. <member name="P:FreeSql.Aop.CommandBeforeEventArgs.Identifier">
  4058. <summary>
  4059. 标识符,可将 CommandBefore 与 CommandAfter 进行匹配
  4060. </summary>
  4061. </member>
  4062. <member name="P:FreeSql.Aop.CommandBeforeEventArgs.States">
  4063. <summary>
  4064. 状态数据,可与 CommandAfter 共享
  4065. </summary>
  4066. </member>
  4067. <member name="P:FreeSql.Aop.CommandAfterEventArgs.Exception">
  4068. <summary>
  4069. 发生的错误
  4070. </summary>
  4071. </member>
  4072. <member name="P:FreeSql.Aop.CommandAfterEventArgs.Log">
  4073. <summary>
  4074. 执行SQL命令,返回的结果
  4075. </summary>
  4076. </member>
  4077. <member name="P:FreeSql.Aop.CommandAfterEventArgs.ElapsedTicks">
  4078. <summary>
  4079. 耗时(单位:Ticks)
  4080. </summary>
  4081. </member>
  4082. <member name="P:FreeSql.Aop.CommandAfterEventArgs.ElapsedMilliseconds">
  4083. <summary>
  4084. 耗时(单位:毫秒)
  4085. </summary>
  4086. </member>
  4087. <member name="P:FreeSql.Aop.TraceBeforeEventArgs.Identifier">
  4088. <summary>
  4089. 标识符,可将 TraceBeforeEventArgs 与 TraceAfterEventArgs 进行匹配
  4090. </summary>
  4091. </member>
  4092. <member name="P:FreeSql.Aop.TraceBeforeEventArgs.States">
  4093. <summary>
  4094. 状态数据,可与 TraceAfter 共享
  4095. </summary>
  4096. </member>
  4097. <member name="P:FreeSql.Aop.TraceAfterEventArgs.Remark">
  4098. <summary>
  4099. 备注
  4100. </summary>
  4101. </member>
  4102. <member name="P:FreeSql.Aop.TraceAfterEventArgs.Exception">
  4103. <summary>
  4104. 发生的错误
  4105. </summary>
  4106. </member>
  4107. <member name="P:FreeSql.Aop.TraceAfterEventArgs.ElapsedTicks">
  4108. <summary>
  4109. 耗时(单位:Ticks)
  4110. </summary>
  4111. </member>
  4112. <member name="P:FreeSql.Aop.TraceAfterEventArgs.ElapsedMilliseconds">
  4113. <summary>
  4114. 耗时(单位:毫秒)
  4115. </summary>
  4116. </member>
  4117. <member name="P:FreeSql.ICodeFirst.IsAutoSyncStructure">
  4118. <summary>
  4119. 【开发环境必备】自动同步实体结构到数据库,程序运行中检查实体表是否存在,然后创建或修改
  4120. </summary>
  4121. </member>
  4122. <member name="P:FreeSql.ICodeFirst.IsSyncStructureToLower">
  4123. <summary>
  4124. 转小写同步结构,适用 PostgreSQL
  4125. </summary>
  4126. </member>
  4127. <member name="P:FreeSql.ICodeFirst.IsSyncStructureToUpper">
  4128. <summary>
  4129. 转大写同步结构,适用 Oracle/达梦/人大金仓
  4130. </summary>
  4131. </member>
  4132. <member name="P:FreeSql.ICodeFirst.IsConfigEntityFromDbFirst">
  4133. <summary>
  4134. 将数据库的主键、自增、索引设置导入,适用 DbFirst 模式,无须在实体类型上设置 [Column(IsPrimary)] 或者 ConfigEntity。此功能目前可用于 mysql/sqlserver/postgresql/oracle。<para></para>
  4135. 本功能会影响 IFreeSql 首次访问的速度。<para></para>
  4136. 若使用 CodeFirst 创建索引后,又直接在数据库上建了索引,若无本功能下一次 CodeFirst 迁移时数据库上创建的索引将被删除
  4137. </summary>
  4138. </member>
  4139. <member name="P:FreeSql.ICodeFirst.IsNoneCommandParameter">
  4140. <summary>
  4141. 不使用命令参数化执行,针对 Insert/Update
  4142. </summary>
  4143. </member>
  4144. <member name="P:FreeSql.ICodeFirst.IsGenerateCommandParameterWithLambda">
  4145. <summary>
  4146. 是否生成命令参数化执行,针对 lambda 表达式解析<para></para>
  4147. 注意:常量不会参数化,变量才会做参数化<para></para>
  4148. var id = 100;
  4149. fsql.Select&lt;T&gt;().Where(a => a.id == id) 会参数化<para></para>
  4150. fsql.Select&lt;T&gt;().Where(a => a.id == 100) 不会参数化
  4151. </summary>
  4152. </member>
  4153. <member name="P:FreeSql.ICodeFirst.IsLazyLoading">
  4154. <summary>
  4155. 延时加载导航属性对象,导航属性需要声明 virtual
  4156. </summary>
  4157. </member>
  4158. <member name="M:FreeSql.ICodeFirst.GetComparisonDDLStatements``1">
  4159. <summary>
  4160. 将实体类型与数据库对比,返回DDL语句
  4161. </summary>
  4162. <typeparam name="TEntity"></typeparam>
  4163. <returns></returns>
  4164. </member>
  4165. <member name="M:FreeSql.ICodeFirst.GetComparisonDDLStatements(System.Type[])">
  4166. <summary>
  4167. 将实体类型集合与数据库对比,返回DDL语句
  4168. </summary>
  4169. <param name="entityTypes">实体类型</param>
  4170. <returns></returns>
  4171. </member>
  4172. <member name="M:FreeSql.ICodeFirst.GetComparisonDDLStatements(System.Type,System.String)">
  4173. <summary>
  4174. 将实体类型与数据库对比,返回DDL语句(指定表名)
  4175. </summary>
  4176. <param name="entityType">实体类型</param>
  4177. <param name="tableName">指定表名对比</param>
  4178. <returns></returns>
  4179. </member>
  4180. <member name="M:FreeSql.ICodeFirst.SyncStructure``1">
  4181. <summary>
  4182. 同步实体类型到数据库<para></para>
  4183. 注意:生产环境中谨慎使用
  4184. </summary>
  4185. <typeparam name="TEntity"></typeparam>
  4186. </member>
  4187. <member name="M:FreeSql.ICodeFirst.SyncStructure(System.Type[])">
  4188. <summary>
  4189. 同步实体类型集合到数据库<para></para>
  4190. 注意:生产环境中谨慎使用
  4191. </summary>
  4192. <param name="entityTypes"></param>
  4193. </member>
  4194. <member name="M:FreeSql.ICodeFirst.SyncStructure(System.Type,System.String,System.Boolean)">
  4195. <summary>
  4196. 同步实体类型到数据库(指定表名)<para></para>
  4197. 注意:生产环境中谨慎使用
  4198. </summary>
  4199. <param name="entityType">实体类型</param>
  4200. <param name="tableName">指定表名对比</param>
  4201. <param name="isForceSync">强制同步结构,无视缓存每次都同步</param>
  4202. </member>
  4203. <member name="M:FreeSql.ICodeFirst.GetDbInfo(System.Type)">
  4204. <summary>
  4205. 根据 System.Type 获取数据库信息
  4206. </summary>
  4207. <param name="type"></param>
  4208. <returns></returns>
  4209. </member>
  4210. <member name="M:FreeSql.ICodeFirst.ConfigEntity``1(System.Action{FreeSql.DataAnnotations.TableFluent{``0}})">
  4211. <summary>
  4212. FreeSql FluentApi 配置实体,方法名与特性相同
  4213. </summary>
  4214. <typeparam name="T"></typeparam>
  4215. <param name="entity"></param>
  4216. <returns></returns>
  4217. </member>
  4218. <member name="M:FreeSql.ICodeFirst.ConfigEntity(System.Type,System.Action{FreeSql.DataAnnotations.TableFluent})">
  4219. <summary>
  4220. FreeSql FluentApi 配置实体,方法名与特性相同
  4221. </summary>
  4222. <param name="type"></param>
  4223. <param name="entity"></param>
  4224. <returns></returns>
  4225. </member>
  4226. <member name="M:FreeSql.ICodeFirst.GetConfigEntity(System.Type)">
  4227. <summary>
  4228. 获取 FreeSql FluentApi 配置实体的元数据
  4229. </summary>
  4230. <param name="type"></param>
  4231. <returns>未使用ConfigEntity配置时,返回null</returns>
  4232. </member>
  4233. <member name="M:FreeSql.ICodeFirst.GetTableByEntity(System.Type)">
  4234. <summary>
  4235. 获取实体类核心配置
  4236. </summary>
  4237. <param name="type"></param>
  4238. <returns></returns>
  4239. </member>
  4240. <member name="M:FreeSql.IDbFirst.GetDatabases">
  4241. <summary>
  4242. 获取所有数据库
  4243. </summary>
  4244. <returns></returns>
  4245. </member>
  4246. <member name="M:FreeSql.IDbFirst.GetTablesByDatabase(System.String[])">
  4247. <summary>
  4248. 获取指定数据库的表信息,包括表、列详情、主键、唯一键、索引、外键、备注
  4249. </summary>
  4250. <param name="database"></param>
  4251. <returns></returns>
  4252. </member>
  4253. <member name="M:FreeSql.IDbFirst.GetTableByName(System.String,System.Boolean)">
  4254. <summary>
  4255. 获取指定单表信息,包括列详情、主键、唯一键、索引、备注
  4256. </summary>
  4257. <param name="name">表名,如:dbo.table1</param>
  4258. <param name="ignoreCase">是否忽略大小写</param>
  4259. <returns></returns>
  4260. </member>
  4261. <member name="M:FreeSql.IDbFirst.ExistsTable(System.String,System.Boolean)">
  4262. <summary>
  4263. 判断表是否存在
  4264. </summary>
  4265. <param name="name">表名,如:dbo.table1</param>
  4266. <param name="ignoreCase">是否忽略大小写</param>
  4267. <returns></returns>
  4268. </member>
  4269. <member name="M:FreeSql.IDbFirst.GetDbType(FreeSql.DatabaseModel.DbColumnInfo)">
  4270. <summary>
  4271. 获取数据库枚举类型int值
  4272. </summary>
  4273. <param name="column"></param>
  4274. <returns></returns>
  4275. </member>
  4276. <member name="M:FreeSql.IDbFirst.GetCsConvert(FreeSql.DatabaseModel.DbColumnInfo)">
  4277. <summary>
  4278. 获取c#转换,(int)、(long)
  4279. </summary>
  4280. <param name="column"></param>
  4281. <returns></returns>
  4282. </member>
  4283. <member name="M:FreeSql.IDbFirst.GetCsTypeValue(FreeSql.DatabaseModel.DbColumnInfo)">
  4284. <summary>
  4285. 获取c#值
  4286. </summary>
  4287. <param name="column"></param>
  4288. <returns></returns>
  4289. </member>
  4290. <member name="M:FreeSql.IDbFirst.GetCsType(FreeSql.DatabaseModel.DbColumnInfo)">
  4291. <summary>
  4292. 获取c#类型,int、long
  4293. </summary>
  4294. <param name="column"></param>
  4295. <returns></returns>
  4296. </member>
  4297. <member name="M:FreeSql.IDbFirst.GetCsTypeInfo(FreeSql.DatabaseModel.DbColumnInfo)">
  4298. <summary>
  4299. 获取c#类型对象
  4300. </summary>
  4301. <param name="column"></param>
  4302. <returns></returns>
  4303. </member>
  4304. <member name="M:FreeSql.IDbFirst.GetDataReaderMethod(FreeSql.DatabaseModel.DbColumnInfo)">
  4305. <summary>
  4306. 获取ado.net读取方法, GetBoolean、GetInt64
  4307. </summary>
  4308. <param name="column"></param>
  4309. <returns></returns>
  4310. </member>
  4311. <member name="M:FreeSql.IDbFirst.GetCsStringify(FreeSql.DatabaseModel.DbColumnInfo)">
  4312. <summary>
  4313. 序列化
  4314. </summary>
  4315. <param name="column"></param>
  4316. <returns></returns>
  4317. </member>
  4318. <member name="M:FreeSql.IDbFirst.GetCsParse(FreeSql.DatabaseModel.DbColumnInfo)">
  4319. <summary>
  4320. 反序列化
  4321. </summary>
  4322. <param name="column"></param>
  4323. <returns></returns>
  4324. </member>
  4325. <member name="M:FreeSql.IDbFirst.GetEnumsByDatabase(System.String[])">
  4326. <summary>
  4327. 获取数据库枚举类型,适用 PostgreSQL
  4328. </summary>
  4329. <param name="database"></param>
  4330. <returns></returns>
  4331. </member>
  4332. <member name="F:FreeSql.Internal.BaseDiyMemberExpression._lambdaParameter">
  4333. <summary>
  4334. 临时 LambdaExpression.Parameter
  4335. </summary>
  4336. </member>
  4337. <member name="M:FreeSql.Internal.CommonProvider.InsertOrUpdateProvider`1.SplitSourceByIdentityValueIsNull(System.Collections.Generic.List{`0})">
  4338. <summary>
  4339. 如果实体类有自增属性,分成两个 List,有值的Item1 merge,无值的Item2 insert
  4340. </summary>
  4341. <param name="source"></param>
  4342. <returns></returns>
  4343. </member>
  4344. <member name="M:FreeSql.Internal.CommonProvider.InsertProvider`1.IgnoreCanInsert">
  4345. <summary>
  4346. AsType, Ctor, ClearData 三处地方需要重新加载
  4347. </summary>
  4348. </member>
  4349. <member name="M:FreeSql.Internal.CommonProvider.UpdateProvider`1.IgnoreCanUpdate">
  4350. <summary>
  4351. AsType, Ctor, ClearData 三处地方需要重新加载
  4352. </summary>
  4353. </member>
  4354. <member name="M:FreeSql.Internal.CommonUtils.GetPropertyCommentByDescriptionAttribute(System.Type)">
  4355. <summary>
  4356. 动态读取 DescriptionAttribute 注释文本
  4357. </summary>
  4358. <param name="type"></param>
  4359. <returns></returns>
  4360. </member>
  4361. <member name="M:FreeSql.Internal.CommonUtils.GetProperyCommentBySummary(System.Type)">
  4362. <summary>
  4363. 通过属性的注释文本,通过 xml 读取
  4364. </summary>
  4365. <param name="type"></param>
  4366. <returns>Dict:key=属性名,value=注释</returns>
  4367. </member>
  4368. <member name="P:FreeSql.Internal.DbUpdateVersionException.Table">
  4369. <summary>
  4370. 更新实体的元数据
  4371. </summary>
  4372. </member>
  4373. <member name="P:FreeSql.Internal.DbUpdateVersionException.Sql">
  4374. <summary>
  4375. 执行更新的 SQL
  4376. </summary>
  4377. </member>
  4378. <member name="P:FreeSql.Internal.DbUpdateVersionException.DbParams">
  4379. <summary>
  4380. 执行更新命令的参数
  4381. </summary>
  4382. </member>
  4383. <member name="P:FreeSql.Internal.DbUpdateVersionException.Affrows">
  4384. <summary>
  4385. 执行更新命令影响的行
  4386. </summary>
  4387. </member>
  4388. <member name="P:FreeSql.Internal.DbUpdateVersionException.EntitySourceCount">
  4389. <summary>
  4390. 更新的实体数量
  4391. </summary>
  4392. </member>
  4393. <member name="P:FreeSql.Internal.DbUpdateVersionException.EntitySource">
  4394. <summary>
  4395. 更新的实体
  4396. </summary>
  4397. </member>
  4398. <member name="T:FreeSql.Internal.MappingPriorityType">
  4399. <summary>
  4400. 映射优先级,默认: Attribute > FluentApi > Aop
  4401. </summary>
  4402. </member>
  4403. <member name="F:FreeSql.Internal.MappingPriorityType.Attribute">
  4404. <summary>
  4405. 实体特性<para></para>
  4406. [Table(Name = "tabname")]<para></para>
  4407. [Column(Name = "table_id")]
  4408. </summary>
  4409. </member>
  4410. <member name="F:FreeSql.Internal.MappingPriorityType.FluentApi">
  4411. <summary>
  4412. 流式接口<para></para>
  4413. fsql.CodeFirst.ConfigEntity(a => a.Name("tabname"))<para></para>
  4414. fsql.CodeFirst.ConfigEntity(a => a.Property(b => b.Id).Name("table_id"))
  4415. </summary>
  4416. </member>
  4417. <member name="F:FreeSql.Internal.MappingPriorityType.Aop">
  4418. <summary>
  4419. AOP 特性 https://github.com/dotnetcore/FreeSql/wiki/AOP<para></para>
  4420. fsql.Aop.ConfigEntity += (_, e) => e.ModifyResult.Name = "public.tabname";<para></para>
  4421. fsql.Aop.ConfigEntityProperty += (_, e) => e.ModifyResult.Name = "table_id";<para></para>
  4422. </summary>
  4423. </member>
  4424. <member name="F:FreeSql.Internal.NameConvertType.None">
  4425. <summary>
  4426. 不进行任何处理
  4427. </summary>
  4428. </member>
  4429. <member name="F:FreeSql.Internal.NameConvertType.PascalCaseToUnderscore">
  4430. <summary>
  4431. 将帕斯卡命名字符串转换为下划线分隔字符串
  4432. <para></para>
  4433. BigApple -> Big_Apple
  4434. </summary>
  4435. </member>
  4436. <member name="F:FreeSql.Internal.NameConvertType.PascalCaseToUnderscoreWithUpper">
  4437. <summary>
  4438. 将帕斯卡命名字符串转换为下划线分隔字符串,且转换为全大写
  4439. <para></para>
  4440. BigApple -> BIG_APPLE
  4441. </summary>
  4442. </member>
  4443. <member name="F:FreeSql.Internal.NameConvertType.PascalCaseToUnderscoreWithLower">
  4444. <summary>
  4445. 将帕斯卡命名字符串转换为下划线分隔字符串,且转换为全小写
  4446. <para></para>
  4447. BigApple -> big_apple
  4448. </summary>
  4449. </member>
  4450. <member name="F:FreeSql.Internal.NameConvertType.ToUpper">
  4451. <summary>
  4452. 将字符串转换为大写
  4453. <para></para>
  4454. BigApple -> BIGAPPLE
  4455. </summary>
  4456. </member>
  4457. <member name="F:FreeSql.Internal.NameConvertType.ToLower">
  4458. <summary>
  4459. 将字符串转换为小写
  4460. <para></para>
  4461. BigApple -> bigapple
  4462. </summary>
  4463. </member>
  4464. <member name="M:FreeSql.Internal.GlobalFilter.Apply``1(System.String,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean)">
  4465. <summary>
  4466. 创建一个过滤器<para></para>
  4467. 提示:在 Lambda 中判断登陆身份,请参考资料 AsyncLocal
  4468. </summary>
  4469. <typeparam name="TEntity"></typeparam>
  4470. <param name="name">名字</param>
  4471. <param name="where">表达式</param>
  4472. <param name="before">条件在最前面</param>
  4473. <returns></returns>
  4474. </member>
  4475. <member name="M:FreeSql.Internal.GlobalFilter.ApplyIf``1(System.String,System.Func{System.Boolean},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean)">
  4476. <summary>
  4477. 创建一个动态过滤器,当 condition 返回值为 true 时才生效<para></para>
  4478. 场景:当登陆身份是管理员,则过滤条件不生效<para></para>
  4479. 提示:在 Lambda 中判断登陆身份,请参考资料 AsyncLocal
  4480. </summary>
  4481. <typeparam name="TEntity"></typeparam>
  4482. <param name="name">名字</param>
  4483. <param name="condition">委托,返回值为 true 时才生效</param>
  4484. <param name="where">表达式</param>
  4485. <param name="before">条件在最前面</param>
  4486. <returns></returns>
  4487. </member>
  4488. <member name="M:FreeSql.Internal.GlobalFilter.ApplyOnly``1(System.String,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean)">
  4489. <summary>
  4490. 创建一个过滤器(实体类型 属于指定 TEntity 才会生效)<para></para>
  4491. 提示:在 Lambda 中判断登陆身份,请参考资料 AsyncLocal
  4492. </summary>
  4493. <typeparam name="TEntity"></typeparam>
  4494. <param name="name">名字</param>
  4495. <param name="where">表达式</param>
  4496. <param name="before">条件在最前面</param>
  4497. <returns></returns>
  4498. </member>
  4499. <member name="M:FreeSql.Internal.GlobalFilter.ApplyOnlyIf``1(System.String,System.Func{System.Boolean},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean)">
  4500. <summary>
  4501. 创建一个过滤器(实体类型 属于指定 TEntity 才会生效)<para></para>
  4502. 场景:当登陆身份是管理员,则过滤条件不生效<para></para>
  4503. 提示:在 Lambda 中判断登陆身份,请参考资料 AsyncLocal
  4504. </summary>
  4505. <typeparam name="TEntity"></typeparam>
  4506. <param name="name">名字</param>
  4507. <param name="condition">委托,返回值为 true 时才生效</param>
  4508. <param name="where">表达式</param>
  4509. <param name="before">条件在最前面</param>
  4510. <returns></returns>
  4511. </member>
  4512. <member name="M:FreeSql.Internal.Model.AdoCommandFluent.WithConnection(System.Data.Common.DbConnection)">
  4513. <summary>
  4514. 使用指定 DbConnection 连接执行
  4515. </summary>
  4516. <param name="conn"></param>
  4517. <returns></returns>
  4518. </member>
  4519. <member name="M:FreeSql.Internal.Model.AdoCommandFluent.WithTransaction(System.Data.Common.DbTransaction)">
  4520. <summary>
  4521. 使用指定 DbTransaction 事务执行
  4522. </summary>
  4523. <param name="tran"></param>
  4524. <returns></returns>
  4525. </member>
  4526. <member name="M:FreeSql.Internal.Model.AdoCommandFluent.WithParameter(System.String,System.Object,System.Action{System.Data.Common.DbParameter})">
  4527. <summary>
  4528. 增加参数化对象
  4529. </summary>
  4530. <param name="parameterName">参数名</param>
  4531. <param name="value">参数值</param>
  4532. <param name="modify">修改本次创建好的参数化对象,比如将 parameterName 参数修改为 Output 类型</param>
  4533. <returns></returns>
  4534. </member>
  4535. <member name="M:FreeSql.Internal.Model.AdoCommandFluent.CommandType(System.Data.CommandType)">
  4536. <summary>
  4537. 设置执行的命令类型,SQL文本、或存储过程
  4538. </summary>
  4539. <param name="commandType"></param>
  4540. <returns></returns>
  4541. </member>
  4542. <member name="M:FreeSql.Internal.Model.AdoCommandFluent.CommandTimeout(System.Int32)">
  4543. <summary>
  4544. 设置命令执行超时(秒)
  4545. </summary>
  4546. <param name="commandTimeout"></param>
  4547. <returns></returns>
  4548. </member>
  4549. <member name="T:FreeSql.Internal.Model.BasePagingInfo">
  4550. <summary>
  4551. 分页信息
  4552. </summary>
  4553. </member>
  4554. <member name="P:FreeSql.Internal.Model.BasePagingInfo.PageNumber">
  4555. <summary>
  4556. 第几页,从1开始
  4557. </summary>
  4558. </member>
  4559. <member name="P:FreeSql.Internal.Model.BasePagingInfo.PageSize">
  4560. <summary>
  4561. 每页多少
  4562. </summary>
  4563. </member>
  4564. <member name="P:FreeSql.Internal.Model.BasePagingInfo.Count">
  4565. <summary>
  4566. 查询的记录数量
  4567. </summary>
  4568. </member>
  4569. <member name="P:FreeSql.Internal.Model.BatchProgressStatus`1.Data">
  4570. <summary>
  4571. 当前操作的数据
  4572. </summary>
  4573. </member>
  4574. <member name="P:FreeSql.Internal.Model.BatchProgressStatus`1.Current">
  4575. <summary>
  4576. 当前批次
  4577. </summary>
  4578. </member>
  4579. <member name="P:FreeSql.Internal.Model.BatchProgressStatus`1.Total">
  4580. <summary>
  4581. 总批次数量
  4582. </summary>
  4583. </member>
  4584. <member name="M:FreeSql.Internal.Model.ColumnInfo.GetDbValue(System.Object)">
  4585. <summary>
  4586. 获取 obj.CsName 属性值 MapType 之后的数据库值
  4587. </summary>
  4588. <param name="obj"></param>
  4589. <returns></returns>
  4590. </member>
  4591. <member name="M:FreeSql.Internal.Model.ColumnInfo.GetValue(System.Object)">
  4592. <summary>
  4593. 获取 obj.CsName 属性原始值(不经过 MapType)
  4594. </summary>
  4595. <param name="obj"></param>
  4596. </member>
  4597. <member name="M:FreeSql.Internal.Model.ColumnInfo.SetValue(System.Object,System.Object)">
  4598. <summary>
  4599. 设置 obj.CsName 属性值
  4600. </summary>
  4601. <param name="obj"></param>
  4602. <param name="val"></param>
  4603. </member>
  4604. <member name="T:FreeSql.Internal.Model.DynamicFilterInfo">
  4605. <summary>
  4606. 动态过滤条件
  4607. </summary>
  4608. </member>
  4609. <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Field">
  4610. <summary>
  4611. 属性名:Name<para></para>
  4612. 导航属性:Parent.Name<para></para>
  4613. 多表:b.Name<para></para>
  4614. </summary>
  4615. </member>
  4616. <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Operator">
  4617. <summary>
  4618. 操作符
  4619. </summary>
  4620. </member>
  4621. <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Value">
  4622. <summary>
  4623. </summary>
  4624. </member>
  4625. <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Logic">
  4626. <summary>
  4627. Filters 下的逻辑运算符
  4628. </summary>
  4629. </member>
  4630. <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Filters">
  4631. <summary>
  4632. 子过滤条件,它与当前的逻辑关系是 And<para></para>
  4633. 注意:当前 Field 可以留空
  4634. </summary>
  4635. </member>
  4636. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Contains">
  4637. <summary>
  4638. like
  4639. </summary>
  4640. </member>
  4641. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Equal">
  4642. <summary>
  4643. =<para></para>
  4644. Equal/Equals/Eq 效果相同
  4645. </summary>
  4646. </member>
  4647. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Equals">
  4648. <summary>
  4649. =<para></para>
  4650. Equal/Equals/Eq 效果相同
  4651. </summary>
  4652. </member>
  4653. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Eq">
  4654. <summary>
  4655. =<para></para>
  4656. Equal/Equals/Eq 效果相同
  4657. </summary>
  4658. </member>
  4659. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.NotEqual">
  4660. <summary>
  4661. &lt;&gt;
  4662. </summary>
  4663. </member>
  4664. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.GreaterThan">
  4665. <summary>
  4666. &gt;
  4667. </summary>
  4668. </member>
  4669. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.GreaterThanOrEqual">
  4670. <summary>
  4671. &gt;=
  4672. </summary>
  4673. </member>
  4674. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.LessThan">
  4675. <summary>
  4676. &lt;
  4677. </summary>
  4678. </member>
  4679. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.LessThanOrEqual">
  4680. <summary>
  4681. &lt;=
  4682. </summary>
  4683. </member>
  4684. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Range">
  4685. <summary>
  4686. &gt;= and &lt;<para></para>
  4687. 此时 Value 的值格式为逗号分割:value1,value2 或者数组
  4688. </summary>
  4689. </member>
  4690. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.DateRange">
  4691. <summary>
  4692. &gt;= and &lt;<para></para>
  4693. 此时 Value 的值格式为逗号分割:date1,date2 或者数组<para></para>
  4694. 这是专门为日期范围查询定制的操作符,它会处理 date2 + 1,比如:<para></para>
  4695. 当 date2 选择的是 2020-05-30,那查询的时候是 &lt; 2020-05-31<para></para>
  4696. 当 date2 选择的是 2020-05,那查询的时候是 &lt; 2020-06<para></para>
  4697. 当 date2 选择的是 2020,那查询的时候是 &lt; 2021<para></para>
  4698. 当 date2 选择的是 2020-05-30 12,那查询的时候是 &lt; 2020-05-30 13<para></para>
  4699. 当 date2 选择的是 2020-05-30 12:30,那查询的时候是 &lt; 2020-05-30 12:31<para></para>
  4700. 并且 date2 只支持以上 5 种格式 (date1 没有限制)
  4701. </summary>
  4702. </member>
  4703. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Any">
  4704. <summary>
  4705. in (1,2,3)<para></para>
  4706. 此时 Value 的值格式为逗号分割:value1,value2,value3... 或者数组
  4707. </summary>
  4708. </member>
  4709. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.NotAny">
  4710. <summary>
  4711. not in (1,2,3)<para></para>
  4712. 此时 Value 的值格式为逗号分割:value1,value2,value3... 或者数组
  4713. </summary>
  4714. </member>
  4715. <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Custom">
  4716. <summary>
  4717. 自定义解析,此时 Field 为反射信息,Value 为静态方法的参数(string/Expression)<para></para>
  4718. 示范:{ Operator: "Custom", Field: "RawSql webapp1.DynamicFilterCustom,webapp1", Value: "(id,name) in ((1,'k'),(2,'m'))" }<para></para>
  4719. 注意:使用者自己承担【注入风险】<para></para>
  4720. 静态方法定义示范:<para></para>
  4721. namespace webapp1<para></para>
  4722. {<para></para>
  4723. public class DynamicFilterCustom<para></para>
  4724. {<para></para>
  4725. [DynamicFilterCustom]<para></para>
  4726. public static string RawSql(object sender, string value) => value;<para></para>
  4727. }<para></para>
  4728. }<para></para>
  4729. </summary>
  4730. </member>
  4731. <member name="T:FreeSql.Internal.Model.DynamicFilterCustomAttribute">
  4732. <summary>
  4733. 授权 DynamicFilter 支持 Custom 自定义解析
  4734. </summary>
  4735. </member>
  4736. <member name="P:FreeSql.Internal.Model.FetchCallbackArgs`1.IsBreak">
  4737. <summary>
  4738. 是否放弃继续读取
  4739. </summary>
  4740. </member>
  4741. <member name="P:FreeSql.Internal.Model.TableRef.RefMiddleEntityType">
  4742. <summary>
  4743. 中间表,多对多
  4744. </summary>
  4745. </member>
  4746. <member name="F:FreeSql.Internal.Model.TableRefType.PgArrayToMany">
  4747. <summary>
  4748. PostgreSQL 数组类型专属功能<para></para>
  4749. 方式一:select * from Role where Id in (RoleIds)<para></para>
  4750. class User {<para></para>
  4751. ____public int[] RoleIds { get; set; }<para></para>
  4752. ____[Navigate(nameof(RoleIds))]<para></para>
  4753. ____public List&lt;Role&gt; Roles { get; set; }<para></para>
  4754. }<para></para>
  4755. 方式二:select * from User where RoleIds @&gt; Id<para></para>
  4756. class Role {<para></para>
  4757. ____public int Id { get; set; }<para></para>
  4758. ____[Navigate(nameof(User.RoleIds))]<para></para>
  4759. ____public List&lt;User&gt; Users { get; set; }<para></para>
  4760. }<para></para>
  4761. </summary>
  4762. </member>
  4763. <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.IsAvailable">
  4764. <summary>
  4765. 是否可用
  4766. </summary>
  4767. </member>
  4768. <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.UnavailableException">
  4769. <summary>
  4770. 不可用错误
  4771. </summary>
  4772. </member>
  4773. <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.UnavailableTime">
  4774. <summary>
  4775. 不可用时间
  4776. </summary>
  4777. </member>
  4778. <member name="M:FreeSql.Internal.ObjectPool.IObjectPool`1.SetUnavailable(System.Exception,System.DateTime)">
  4779. <summary>
  4780. 将对象池设置为不可用,后续 Get/GetAsync 均会报错,同时启动后台定时检查服务恢复可用
  4781. </summary>
  4782. <param name="exception"></param>
  4783. <param name="lastGetTime"></param>
  4784. <returns>由【可用】变成【不可用】时返回true,否则返回false</returns>
  4785. </member>
  4786. <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.Statistics">
  4787. <summary>
  4788. 统计对象池中的对象
  4789. </summary>
  4790. </member>
  4791. <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.StatisticsFullily">
  4792. <summary>
  4793. 统计对象池中的对象(完整)
  4794. </summary>
  4795. </member>
  4796. <member name="M:FreeSql.Internal.ObjectPool.IObjectPool`1.Get(System.Nullable{System.TimeSpan})">
  4797. <summary>
  4798. 获取资源
  4799. </summary>
  4800. <param name="timeout">超时</param>
  4801. <returns></returns>
  4802. </member>
  4803. <member name="M:FreeSql.Internal.ObjectPool.IObjectPool`1.GetAsync">
  4804. <summary>
  4805. 获取资源
  4806. </summary>
  4807. <returns></returns>
  4808. </member>
  4809. <member name="M:FreeSql.Internal.ObjectPool.IObjectPool`1.Return(FreeSql.Internal.ObjectPool.Object{`0},System.Boolean)">
  4810. <summary>
  4811. 使用完毕后,归还资源
  4812. </summary>
  4813. <param name="obj">对象</param>
  4814. <param name="isReset">是否重新创建</param>
  4815. </member>
  4816. <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.Name">
  4817. <summary>
  4818. 名称
  4819. </summary>
  4820. </member>
  4821. <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.PoolSize">
  4822. <summary>
  4823. 池容量
  4824. </summary>
  4825. </member>
  4826. <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.SyncGetTimeout">
  4827. <summary>
  4828. 默认获取超时设置
  4829. </summary>
  4830. </member>
  4831. <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.IdleTimeout">
  4832. <summary>
  4833. 空闲时间,获取时若超出,则重新创建
  4834. </summary>
  4835. </member>
  4836. <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.AsyncGetCapacity">
  4837. <summary>
  4838. 异步获取排队队列大小,小于等于0不生效
  4839. </summary>
  4840. </member>
  4841. <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.IsThrowGetTimeoutException">
  4842. <summary>
  4843. 获取超时后,是否抛出异常
  4844. </summary>
  4845. </member>
  4846. <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.IsAutoDisposeWithSystem">
  4847. <summary>
  4848. 监听 AppDomain.CurrentDomain.ProcessExit/Console.CancelKeyPress 事件自动释放
  4849. </summary>
  4850. </member>
  4851. <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.CheckAvailableInterval">
  4852. <summary>
  4853. 后台定时检查可用性间隔秒数
  4854. </summary>
  4855. </member>
  4856. <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.Weight">
  4857. <summary>
  4858. 权重
  4859. </summary>
  4860. </member>
  4861. <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnCreate">
  4862. <summary>
  4863. 对象池的对象被创建时
  4864. </summary>
  4865. <returns>返回被创建的对象</returns>
  4866. </member>
  4867. <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnDestroy(`0)">
  4868. <summary>
  4869. 销毁对象
  4870. </summary>
  4871. <param name="obj">资源对象</param>
  4872. </member>
  4873. <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnGetTimeout">
  4874. <summary>
  4875. 从对象池获取对象超时的时候触发,通过该方法统计
  4876. </summary>
  4877. </member>
  4878. <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnGet(FreeSql.Internal.ObjectPool.Object{`0})">
  4879. <summary>
  4880. 从对象池获取对象成功的时候触发,通过该方法统计或初始化对象
  4881. </summary>
  4882. <param name="obj">资源对象</param>
  4883. </member>
  4884. <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnGetAsync(FreeSql.Internal.ObjectPool.Object{`0})">
  4885. <summary>
  4886. 从对象池获取对象成功的时候触发,通过该方法统计或初始化对象
  4887. </summary>
  4888. <param name="obj">资源对象</param>
  4889. </member>
  4890. <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnReturn(FreeSql.Internal.ObjectPool.Object{`0})">
  4891. <summary>
  4892. 归还对象给对象池的时候触发
  4893. </summary>
  4894. <param name="obj">资源对象</param>
  4895. </member>
  4896. <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnCheckAvailable(FreeSql.Internal.ObjectPool.Object{`0})">
  4897. <summary>
  4898. 检查可用性
  4899. </summary>
  4900. <param name="obj">资源对象</param>
  4901. <returns></returns>
  4902. </member>
  4903. <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnAvailable">
  4904. <summary>
  4905. 事件:可用时触发
  4906. </summary>
  4907. </member>
  4908. <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnUnavailable">
  4909. <summary>
  4910. 事件:不可用时触发
  4911. </summary>
  4912. </member>
  4913. <member name="P:FreeSql.Internal.ObjectPool.Object`1.Pool">
  4914. <summary>
  4915. 所属对象池
  4916. </summary>
  4917. </member>
  4918. <member name="P:FreeSql.Internal.ObjectPool.Object`1.Id">
  4919. <summary>
  4920. 在对象池中的唯一标识
  4921. </summary>
  4922. </member>
  4923. <member name="P:FreeSql.Internal.ObjectPool.Object`1.Value">
  4924. <summary>
  4925. 资源对象
  4926. </summary>
  4927. </member>
  4928. <member name="P:FreeSql.Internal.ObjectPool.Object`1.GetTimes">
  4929. <summary>
  4930. 被获取的总次数
  4931. </summary>
  4932. </member>
  4933. <member name="P:FreeSql.Internal.ObjectPool.Object`1.LastGetTime">
  4934. 最后获取时的时间
  4935. </member>
  4936. <member name="P:FreeSql.Internal.ObjectPool.Object`1.LastReturnTime">
  4937. <summary>
  4938. 最后归还时的时间
  4939. </summary>
  4940. </member>
  4941. <member name="P:FreeSql.Internal.ObjectPool.Object`1.CreateTime">
  4942. <summary>
  4943. 创建时间
  4944. </summary>
  4945. </member>
  4946. <member name="P:FreeSql.Internal.ObjectPool.Object`1.LastGetThreadId">
  4947. <summary>
  4948. 最后获取时的线程id
  4949. </summary>
  4950. </member>
  4951. <member name="P:FreeSql.Internal.ObjectPool.Object`1.LastReturnThreadId">
  4952. <summary>
  4953. 最后归还时的线程id
  4954. </summary>
  4955. </member>
  4956. <member name="M:FreeSql.Internal.ObjectPool.Object`1.ResetValue">
  4957. <summary>
  4958. 重置 Value 值
  4959. </summary>
  4960. </member>
  4961. <member name="T:FreeSql.Internal.ObjectPool.ObjectPool`1">
  4962. <summary>
  4963. 对象池管理类
  4964. </summary>
  4965. <typeparam name="T">对象类型</typeparam>
  4966. </member>
  4967. <member name="M:FreeSql.Internal.ObjectPool.ObjectPool`1.CheckAvailable(System.Int32)">
  4968. <summary>
  4969. 后台定时检查可用性
  4970. </summary>
  4971. <param name="interval"></param>
  4972. </member>
  4973. <member name="M:FreeSql.Internal.ObjectPool.ObjectPool`1.#ctor(System.Int32,System.Func{`0},System.Action{FreeSql.Internal.ObjectPool.Object{`0}})">
  4974. <summary>
  4975. 创建对象池
  4976. </summary>
  4977. <param name="poolsize">池大小</param>
  4978. <param name="createObject">池内对象的创建委托</param>
  4979. <param name="onGetObject">获取池内对象成功后,进行使用前操作</param>
  4980. </member>
  4981. <member name="M:FreeSql.Internal.ObjectPool.ObjectPool`1.#ctor(FreeSql.Internal.ObjectPool.IPolicy{`0})">
  4982. <summary>
  4983. 创建对象池
  4984. </summary>
  4985. <param name="policy">策略</param>
  4986. </member>
  4987. <member name="M:FreeSql.Internal.ObjectPool.ObjectPool`1.GetFree(System.Boolean)">
  4988. <summary>
  4989. 获取可用资源,或创建资源
  4990. </summary>
  4991. <returns></returns>
  4992. </member>
  4993. <member name="F:FreeSql.Internal.Utils.ChacheTableEntityFactory">
  4994. <summary>
  4995. 用于解决多实例情况下的静态集合缓存问题
  4996. </summary>
  4997. </member>
  4998. <member name="T:FreeSql.CoreStrings">
  4999. <summary>
  5000. <para>
  5001. String resources used in FreeSql exceptions, etc.
  5002. </para>
  5003. <para>
  5004. These strings are exposed publicly for use by database providers and extensions.
  5005. It is unusual for application code to need these strings.
  5006. </para>
  5007. </summary>
  5008. </member>
  5009. <member name="P:FreeSql.CoreStrings.Culture">
  5010. <summary>
  5011. 重写当前线程的 CurrentUICulture 属性,对
  5012. 使用此强类型资源类的所有资源查找执行重写。
  5013. </summary>
  5014. </member>
  5015. <member name="M:FreeSql.CoreStrings.AsTable_PropertyName_FormatError(System.Object)">
  5016. <summary>
  5017. [Table(AsTable = "{asTable}")] 特性值格式错误
  5018. </summary>
  5019. </member>
  5020. <member name="M:FreeSql.CoreStrings.AsTable_PropertyName_NotDateTime(System.Object)">
  5021. <summary>
  5022. [Table(AsTable = xx)] 设置的属性名 {atmGroupsValue} 不是 DateTime 类型
  5023. </summary>
  5024. </member>
  5025. <member name="M:FreeSql.CoreStrings.Available_Failed_Get_Resource(System.Object,System.Object)">
  5026. <summary>
  5027. {name}: Failed to get resource {statistics}
  5028. </summary>
  5029. </member>
  5030. <member name="M:FreeSql.CoreStrings.Available_Thrown_Exception(System.Object)">
  5031. <summary>
  5032. {name}: An exception needs to be thrown
  5033. </summary>
  5034. </member>
  5035. <member name="M:FreeSql.CoreStrings.Bad_Expression_Format(System.Object)">
  5036. <summary>
  5037. 错误的表达式格式 {column}
  5038. </summary>
  5039. </member>
  5040. <member name="P:FreeSql.CoreStrings.Before_Chunk_Cannot_Use_Select">
  5041. <summary>
  5042. Chunk 功能之前不可使用 Select
  5043. </summary>
  5044. </member>
  5045. <member name="P:FreeSql.CoreStrings.Begin_Transaction_Then_ForUpdate">
  5046. <summary>
  5047. 安全起见,请务必在事务开启之后,再使用 ForUpdate
  5048. </summary>
  5049. </member>
  5050. <member name="P:FreeSql.CoreStrings.Cannot_Be_NULL">
  5051. <summary>
  5052. 不能为 null
  5053. </summary>
  5054. </member>
  5055. <member name="M:FreeSql.CoreStrings.Cannot_Be_NULL_Name(System.Object)">
  5056. <summary>
  5057. {name} 不能为 null
  5058. </summary>
  5059. </member>
  5060. <member name="M:FreeSql.CoreStrings.Cannot_Match_Property(System.Object)">
  5061. <summary>
  5062. 无法匹配 {property}
  5063. </summary>
  5064. </member>
  5065. <member name="M:FreeSql.CoreStrings.Cannot_Resolve_ExpressionTree(System.Object)">
  5066. <summary>
  5067. {property} 无法解析为表达式树
  5068. </summary>
  5069. </member>
  5070. <member name="P:FreeSql.CoreStrings.Check_UseConnectionString">
  5071. <summary>
  5072. 参数 masterConnectionString 不可为空,请检查 UseConnectionString
  5073. </summary>
  5074. </member>
  5075. <member name="P:FreeSql.CoreStrings.Commit">
  5076. <summary>
  5077. 提交
  5078. </summary>
  5079. </member>
  5080. <member name="P:FreeSql.CoreStrings.Connection_Failed_Switch_Servers">
  5081. <summary>
  5082. 连接失败,准备切换其他可用服务器
  5083. </summary>
  5084. </member>
  5085. <member name="M:FreeSql.CoreStrings.Custom_Expression_ParsingError(System.Object)">
  5086. <summary>
  5087. 自定义表达式解析错误:类型 {exp3MethodDeclaringType} 需要定义 static ThreadLocal&lt;ExpressionCallContext&gt; 字段、字段、字段(重要三次提醒)
  5088. </summary>
  5089. </member>
  5090. <member name="P:FreeSql.CoreStrings.Custom_Reflection_IsNotNull">
  5091. <summary>
  5092. Custom { 反射信息 }不能为空,格式:{ 静态方法名 }{ 空格 }{ 反射信息 }
  5093. </summary>
  5094. </member>
  5095. <member name="P:FreeSql.CoreStrings.Custom_StaticMethodName_IsNotNull">
  5096. <summary>
  5097. Custom { 静态方法名 }不能为空,格式:{ 静态方法名 }{ 空格 }{ 反射信息 }
  5098. </summary>
  5099. </member>
  5100. <member name="M:FreeSql.CoreStrings.Custom_StaticMethodName_NotSet_DynamicFilterCustom(System.Object)">
  5101. <summary>
  5102. Custom 对应的{{ 静态方法名 }}:{fiValueCustomArray} 未设置 [DynamicFilterCustomAttribute] 特性
  5103. </summary>
  5104. </member>
  5105. <member name="P:FreeSql.CoreStrings.CustomFieldSeparatedBySpaces">
  5106. <summary>
  5107. Custom 要求 Field 应该空格分割,并且长度为 2,格式:{ 静态方法名 }{ 空格 }{ 反射信息 }
  5108. </summary>
  5109. </member>
  5110. <member name="M:FreeSql.CoreStrings.DataType_AsType_Inconsistent(System.Object,System.Object)">
  5111. <summary>
  5112. 操作的数据类型({dataDisplayCsharp}) 与 AsType({tableTypeDisplayCsharp}) 不一致,请检查。
  5113. </summary>
  5114. </member>
  5115. <member name="P:FreeSql.CoreStrings.DateRange_Comma_Separateda_By2Char">
  5116. <summary>
  5117. DateRange 要求 Value 应该逗号分割,并且长度为 2
  5118. </summary>
  5119. </member>
  5120. <member name="P:FreeSql.CoreStrings.DateRange_DateFormat_yyyy">
  5121. <summary>
  5122. DateRange 要求 Value[1] 格式必须为:yyyy、yyyy-MM、yyyy-MM-dd、yyyy-MM-dd HH、yyyy、yyyy-MM-dd HH:mm
  5123. </summary>
  5124. </member>
  5125. <member name="M:FreeSql.CoreStrings.DbUpdateVersionException_RowLevelOptimisticLock(System.Object,System.Object)">
  5126. <summary>
  5127. 记录可能不存在,或者【行级乐观锁】版本过旧,更新数量{sourceCount},影响的行数{affrows}。
  5128. </summary>
  5129. </member>
  5130. <member name="P:FreeSql.CoreStrings.Different_Number_SlaveConnectionString_SlaveWeights">
  5131. <summary>
  5132. SlaveConnectionString 数量与 SlaveWeights 不相同
  5133. </summary>
  5134. </member>
  5135. <member name="M:FreeSql.CoreStrings.Duplicate_ColumnAttribute(System.Object)">
  5136. <summary>
  5137. ColumnAttribute.Name {colattrName} 重复存在,请检查(注意:不区分大小写)
  5138. </summary>
  5139. </member>
  5140. <member name="M:FreeSql.CoreStrings.Duplicate_PropertyName(System.Object)">
  5141. <summary>
  5142. 属性名 {pName} 重复存在,请检查(注意:不区分大小写)
  5143. </summary>
  5144. </member>
  5145. <member name="M:FreeSql.CoreStrings.Entity_Must_Primary_Key(System.Object,System.Object)">
  5146. <summary>
  5147. {function} 功能要求实体类 {tableCsName} 必须有主键
  5148. </summary>
  5149. </member>
  5150. <member name="M:FreeSql.CoreStrings.Entity_MySQL_VersionsBelow8_NotSupport_Multiple_PrimaryKeys(System.Object)">
  5151. <summary>
  5152. {tbTypeFullName} 是父子关系,但是 MySql 8.0 以下版本中不支持组合多主键
  5153. </summary>
  5154. </member>
  5155. <member name="M:FreeSql.CoreStrings.Entity_NotParentChild_Relationship(System.Object)">
  5156. <summary>
  5157. {tbTypeFullName} 不是父子关系,无法使用该功能
  5158. </summary>
  5159. </member>
  5160. <member name="P:FreeSql.CoreStrings.EspeciallySubquery_Cannot_Parsing">
  5161. <summary>
  5162. 这个特别的子查询不能解析
  5163. </summary>
  5164. </member>
  5165. <member name="M:FreeSql.CoreStrings.Expression_Error_Use_ParameterExpression(System.Object)">
  5166. <summary>
  5167. 表达式错误,它的顶级对象不是 ParameterExpression:{exp}
  5168. </summary>
  5169. </member>
  5170. <member name="M:FreeSql.CoreStrings.Expression_Error_Use_Successive_MemberAccess_Type(System.Object)">
  5171. <summary>
  5172. 表达式错误,它不是连续的 MemberAccess 类型:{exp}
  5173. </summary>
  5174. </member>
  5175. <member name="M:FreeSql.CoreStrings.ExpressionTree_Convert_Type_Error(System.Object,System.Object,System.Object,System.Object)">
  5176. <summary>
  5177. ExpressionTree 转换类型错误,值({value}),类型({valueTypeFullName}),目标类型({typeFullName}),{exMessage}
  5178. </summary>
  5179. </member>
  5180. <member name="M:FreeSql.CoreStrings.Failed_SubTable_FieldValue(System.Object)">
  5181. <summary>
  5182. 未能解析分表字段值 {sqlWhere}
  5183. </summary>
  5184. </member>
  5185. <member name="M:FreeSql.CoreStrings.Functions_AsTable_NotImplemented(System.Object)">
  5186. <summary>
  5187. AsTable 未实现的功能 {asTable}
  5188. </summary>
  5189. </member>
  5190. <member name="P:FreeSql.CoreStrings.GBase_NotSupport_OtherThanCommas">
  5191. <summary>
  5192. GBase 暂时不支持逗号以外的分割符
  5193. </summary>
  5194. </member>
  5195. <member name="M:FreeSql.CoreStrings.Generated_Same_SubTable(System.Object)">
  5196. <summary>
  5197. tableName:{tableName} 生成了相同的分表名
  5198. </summary>
  5199. </member>
  5200. <member name="M:FreeSql.CoreStrings.GetPrimarys_ParameterError_IsNotDictKey(System.Object)">
  5201. <summary>
  5202. GetPrimarys 传递的参数 "{primary}" 不正确,它不属于字典数据的键名
  5203. </summary>
  5204. </member>
  5205. <member name="M:FreeSql.CoreStrings.Has_Specified_Cannot_Specified_Second(System.Object,System.Object)">
  5206. <summary>
  5207. 已经指定了 {first},不能再指定 {second}
  5208. </summary>
  5209. </member>
  5210. <member name="M:FreeSql.CoreStrings.Ignored_Check_Confirm_PublicGetSet(System.Object,System.Object)">
  5211. <summary>
  5212. {tb2DbName}.{mp2MemberName} 被忽略,请检查 IsIgnore 设置,确认 get/set 为 public
  5213. </summary>
  5214. </member>
  5215. <member name="P:FreeSql.CoreStrings.Include_ParameterType_Error">
  5216. <summary>
  5217. Include 参数类型错误
  5218. </summary>
  5219. </member>
  5220. <member name="P:FreeSql.CoreStrings.Include_ParameterType_Error_Use_IncludeMany">
  5221. <summary>
  5222. Include 参数类型错误,集合属性请使用 IncludeMany
  5223. </summary>
  5224. </member>
  5225. <member name="P:FreeSql.CoreStrings.Include_ParameterType_Error_Use_MemberAccess">
  5226. <summary>
  5227. Include 参数类型错误,表达式类型应该为 MemberAccess
  5228. </summary>
  5229. </member>
  5230. <member name="M:FreeSql.CoreStrings.IncludeMany_NotValid_Navigation(System.Object,System.Object)">
  5231. <summary>
  5232. IncludeMany 类型 {tbTypeDisplayCsharp} 的属性 {collMemMemberName} 不是有效的导航属性,提示:IsIgnore = true 不会成为导航属性
  5233. </summary>
  5234. </member>
  5235. <member name="M:FreeSql.CoreStrings.IncludeMany_ParameterError_OnlyUseOneParameter(System.Object)">
  5236. <summary>
  5237. IncludeMany {navigateSelector} 参数错误,Select 只可以使用一个参数的方法,正确格式:.Select(t =&gt;new TNavigate {{}})
  5238. </summary>
  5239. </member>
  5240. <member name="M:FreeSql.CoreStrings.IncludeMany_ParameterError_Select_ReturnConsistentType(System.Object,System.Object)">
  5241. <summary>
  5242. IncludeMany {navigateSelector} 参数错误,Select lambda参数返回值必须和 {collMemElementType} 类型一致
  5243. </summary>
  5244. </member>
  5245. <member name="P:FreeSql.CoreStrings.IncludeMany_ParameterType_Error_Use_MemberAccess">
  5246. <summary>
  5247. IncludeMany 参数1 类型错误,表达式类型应该为 MemberAccess
  5248. </summary>
  5249. </member>
  5250. <member name="M:FreeSql.CoreStrings.IncludeMany_ParameterTypeError(System.Object)">
  5251. <summary>
  5252. IncludeMany {navigateSelector} 参数类型错误,正确格式: a.collections.Take(1).Where(c =&gt;c.aid == a.id).Select(a=&gt; new TNavigate{{}})
  5253. </summary>
  5254. </member>
  5255. <member name="M:FreeSql.CoreStrings.InsertInto_No_Property_Selected(System.Object)">
  5256. <summary>
  5257. ISelect.InsertInto() 未选择属性: {displayCsharp}
  5258. </summary>
  5259. </member>
  5260. <member name="M:FreeSql.CoreStrings.InsertInto_TypeError(System.Object)">
  5261. <summary>
  5262. ISelect.InsertInto() 类型错误: {displayCsharp}
  5263. </summary>
  5264. </member>
  5265. <member name="M:FreeSql.CoreStrings.InsertOrUpdate_Must_Primary_Key(System.Object)">
  5266. <summary>
  5267. InsertOrUpdate 功能执行 merge into 要求实体类 {CsName} 必须有主键
  5268. </summary>
  5269. </member>
  5270. <member name="M:FreeSql.CoreStrings.InsertOrUpdate_NotSuport_Generic_UseEntity(System.Object)">
  5271. <summary>
  5272. InsertOrUpdate&lt;&gt;的泛型参数 不支持 {typeofT1},请传递您的实体类
  5273. </summary>
  5274. </member>
  5275. <member name="P:FreeSql.CoreStrings.Install_FreeSql_Extensions_LazyLoading">
  5276. <summary>
  5277. 【延时加载】功能需要安装 FreeSql.Extensions.LazyLoading.dll,可前往 nuget 下载
  5278. </summary>
  5279. </member>
  5280. <member name="M:FreeSql.CoreStrings.LazyLoading_CompilationError(System.Object,System.Object,System.Object)">
  5281. <summary>
  5282. 【延时加载】{trytbTypeName} 编译错误:{exMessage}\r\n\r\n{cscode}
  5283. </summary>
  5284. </member>
  5285. <member name="M:FreeSql.CoreStrings.LazyLoading_EntityMustDeclarePublic(System.Object)">
  5286. <summary>
  5287. 【延时加载】实体类型 {trytbTypeName} 必须声明为 public
  5288. </summary>
  5289. </member>
  5290. <member name="P:FreeSql.CoreStrings.ManyToMany_AsSelect_NotSupport_Sum_Avg_etc">
  5291. <summary>
  5292. ManyToMany 导航属性 .AsSelect() 暂时不可用于 Sum/Avg/Max/Min/First/ToOne/ToList 方法
  5293. </summary>
  5294. </member>
  5295. <member name="M:FreeSql.CoreStrings.ManyToMany_NotFound_CorrespondingField(System.Object,System.Object,System.Object,System.Object,System.Object)">
  5296. <summary>
  5297. 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 在 {tbmidCsName} 中没有找到对应的字段,如:{midTypePropsTrytbName}{findtrytbPkCsName}、{midTypePropsTrytbName}_{findtrytbPkCsName}
  5298. </summary>
  5299. </member>
  5300. <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_EntityMissing_PrimaryKey(System.Object,System.Object,System.Object)">
  5301. <summary>
  5302. 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,实体类型 {tbrefTypeName} 缺少主键标识,[Column(IsPrimary = true)]
  5303. </summary>
  5304. </member>
  5305. <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_EntityMustHas_NavigateCollection(System.Object,System.Object,System.Object)">
  5306. <summary>
  5307. 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,实体类型 {tbrefTypeName} 必须存在对应的 [Navigate(ManyToMany = x)] 集合属性
  5308. </summary>
  5309. </member>
  5310. <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_InconsistentType(System.Object,System.Object,System.Object,System.Object,System.Object,System.Object)">
  5311. <summary>
  5312. 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,{tbmidCsName}.{trycolCsName} 和 {trytbCsName}.{trytbPrimarysCsName} 类型不一致
  5313. </summary>
  5314. </member>
  5315. <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_IntermediateClass_ErrorMessage(System.Object,System.Object,System.Object,System.Object,System.Object)">
  5316. <summary>
  5317. 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,中间类 {tbmidCsName}.{midTypePropsTrytbName} 错误:{exMessage}
  5318. </summary>
  5319. </member>
  5320. <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_IntermediateClass_NotManyToOne_OneToOne(System.Object,System.Object,System.Object,System.Object)">
  5321. <summary>
  5322. 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,中间类 {tbmidCsName}.{midTypePropsTrytbName} 导航属性不是【ManyToOne】或【OneToOne】
  5323. </summary>
  5324. </member>
  5325. <member name="M:FreeSql.CoreStrings.Mapping_Exception_HasNo_SamePropertyName(System.Object)">
  5326. <summary>
  5327. 映射异常:{name} 没有一个属性名相同
  5328. </summary>
  5329. </member>
  5330. <member name="P:FreeSql.CoreStrings.MasterPool_IsNull_UseTransaction">
  5331. <summary>
  5332. Ado.MasterPool 值为 null,该操作无法自启用事务,请显式传递【事务对象】解决
  5333. </summary>
  5334. </member>
  5335. <member name="M:FreeSql.CoreStrings.Missing_FreeSqlProvider_Package(System.Object)">
  5336. <summary>
  5337. 缺少 FreeSql 数据库实现包:FreeSql.Provider.{Provider}.dll,可前往 nuget 下载
  5338. </summary>
  5339. </member>
  5340. <member name="M:FreeSql.CoreStrings.Missing_FreeSqlProvider_Package_Reason(System.Object,System.Object)">
  5341. <summary>
  5342. 缺少 FreeSql 数据库实现包:{dll},可前往 nuget 下载;如果存在 {dll} 依然报错(原因是环境问题导致反射不到类型),请在 UseConnectionString/UseConnectionFactory 第三个参数手工传入 typeof({providerType})
  5343. </summary>
  5344. </member>
  5345. <member name="M:FreeSql.CoreStrings.Navigation_Bind_Number_Different(System.Object,System.Object,System.Object,System.Object)">
  5346. <summary>
  5347. 导航属性 {trytbTypeName}.{pnvName} 特性 [Navigate] Bind 数目({bindColumnsCount}) 与 外部主键数目({tbrefPrimarysLength}) 不相同
  5348. </summary>
  5349. </member>
  5350. <member name="M:FreeSql.CoreStrings.Navigation_Missing_AsSelect(System.Object,System.Object)">
  5351. <summary>
  5352. {tb2DbName}.{mp2MemberName} 导航属性集合忘了 .AsSelect() 吗?如果在 ToList(a =&gt; a.{mp2MemberName}) 中使用,请移步参考 IncludeMany 文档。
  5353. </summary>
  5354. </member>
  5355. <member name="M:FreeSql.CoreStrings.Navigation_Missing_SetProperty(System.Object,System.Object)">
  5356. <summary>
  5357. 【导航属性】{trytbTypeDisplayCsharp}.{pName} 缺少 set 属性
  5358. </summary>
  5359. </member>
  5360. <member name="M:FreeSql.CoreStrings.Navigation_NotFound_CorrespondingField(System.Object,System.Object,System.Object)">
  5361. <summary>
  5362. 导航属性 {trytbTypeName}.{pnvName} 没有找到对应的字段,如:{pnvName}{findtbrefPkCsName}、{pnvName}_{findtbrefPkCsName}。或者使用 [Navigate] 特性指定关系映射。
  5363. </summary>
  5364. </member>
  5365. <member name="M:FreeSql.CoreStrings.Navigation_ParsingError_EntityMissingPrimaryKey(System.Object,System.Object,System.Object)">
  5366. <summary>
  5367. 导航属性 {trytbTypeName}.{pnvName} 解析错误,实体类型 {trytcTypeName} 缺少主键标识,[Column(IsPrimary = true)]
  5368. </summary>
  5369. </member>
  5370. <member name="M:FreeSql.CoreStrings.Navigation_ParsingError_InconsistentType(System.Object,System.Object,System.Object,System.Object,System.Object,System.Object)">
  5371. <summary>
  5372. 导航属性 {trytbTypeName}.{pnvName} 解析错误,{trytbCsName}.{trycolCsName} 和 {tbrefCsName}.{tbrefPrimarysCsName} 类型不一致
  5373. </summary>
  5374. </member>
  5375. <member name="M:FreeSql.CoreStrings.Navigation_ParsingError_NotFound_Property(System.Object,System.Object,System.Object,System.Object)">
  5376. <summary>
  5377. 导航属性 {trytbTypeName}.{pnvName} 特性 [Navigate] 解析错误,在 {tbrefTypeName} 未找到属性:{bi}
  5378. </summary>
  5379. </member>
  5380. <member name="M:FreeSql.CoreStrings.NoPrimaryKey_UseSetDto(System.Object)">
  5381. <summary>
  5382. {tableTypeDisplayCsharp} 没有定义主键,无法使用 SetSource,请尝试 SetDto 或者 SetSource 指定临时主键
  5383. </summary>
  5384. </member>
  5385. <member name="P:FreeSql.CoreStrings.NoProperty_Defined">
  5386. <summary>
  5387. 没有定义属性
  5388. </summary>
  5389. </member>
  5390. <member name="P:FreeSql.CoreStrings.Not_Implemented">
  5391. <summary>
  5392. 未实现
  5393. </summary>
  5394. </member>
  5395. <member name="M:FreeSql.CoreStrings.Not_Implemented_Expression(System.Object)">
  5396. <summary>
  5397. 未实现函数表达式 {exp} 解析
  5398. </summary>
  5399. </member>
  5400. <member name="M:FreeSql.CoreStrings.Not_Implemented_Expression_ParameterUseConstant(System.Object,System.Object)">
  5401. <summary>
  5402. 未实现函数表达式 {exp} 解析,参数 {expArguments} 必须为常量
  5403. </summary>
  5404. </member>
  5405. <member name="M:FreeSql.CoreStrings.Not_Implemented_Expression_UseAsSelect(System.Object,System.Object,System.Object)">
  5406. <summary>
  5407. 未实现函数表达式 {exp} 解析,如果正在操作导航属性集合,请使用 .AsSelect().{exp3MethodName}({exp3ArgumentsCount})
  5408. </summary>
  5409. </member>
  5410. <member name="P:FreeSql.CoreStrings.Not_Implemented_MemberAcess_Constant">
  5411. <summary>
  5412. 未实现 MemberAccess 下的 Constant
  5413. </summary>
  5414. </member>
  5415. <member name="M:FreeSql.CoreStrings.Not_Implemented_Name(System.Object)">
  5416. <summary>
  5417. 未实现 {name}
  5418. </summary>
  5419. </member>
  5420. <member name="P:FreeSql.CoreStrings.Not_Support">
  5421. <summary>
  5422. 不支持
  5423. </summary>
  5424. </member>
  5425. <member name="M:FreeSql.CoreStrings.Not_Support_OrderByRandom(System.Object)">
  5426. <summary>
  5427. {dataType} 不支持 OrderByRandom 随机排序
  5428. </summary>
  5429. </member>
  5430. <member name="M:FreeSql.CoreStrings.Not_Valid_Navigation_Property(System.Object)">
  5431. <summary>
  5432. {property} 不是有效的导航属性
  5433. </summary>
  5434. </member>
  5435. <member name="M:FreeSql.CoreStrings.NotFound_Column(System.Object,System.Object)">
  5436. <summary>
  5437. {dbName} 找不到列 {memberName}
  5438. </summary>
  5439. </member>
  5440. <member name="M:FreeSql.CoreStrings.NotFound_CsName_Column(System.Object)">
  5441. <summary>
  5442. 找不到 {CsName} 对应的列
  5443. </summary>
  5444. </member>
  5445. <member name="M:FreeSql.CoreStrings.NotFound_Property(System.Object)">
  5446. <summary>
  5447. 找不到属性:{memberName}
  5448. </summary>
  5449. </member>
  5450. <member name="M:FreeSql.CoreStrings.NotFound_PropertyName(System.Object)">
  5451. <summary>
  5452. 找不到属性名 {proto}
  5453. </summary>
  5454. </member>
  5455. <member name="M:FreeSql.CoreStrings.NotFound_Reflection(System.Object)">
  5456. <summary>
  5457. Custom 找不到对应的{{ 反射信息 }}:{fiValueCustomArray}
  5458. </summary>
  5459. </member>
  5460. <member name="M:FreeSql.CoreStrings.NotFound_Static_MethodName(System.Object)">
  5461. <summary>
  5462. Custom 找不到对应的{{ 静态方法名 }}:{fiValueCustomArray}
  5463. </summary>
  5464. </member>
  5465. <member name="M:FreeSql.CoreStrings.NotFound_Table_Property_AsTable(System.Object)">
  5466. <summary>
  5467. [Table(AsTable = xx)] 设置的属性名 {atmGroupsValue} 不存在
  5468. </summary>
  5469. </member>
  5470. <member name="P:FreeSql.CoreStrings.NotSpecified_UseConnectionString_UseConnectionFactory">
  5471. <summary>
  5472. 未指定 UseConnectionString 或者 UseConnectionFactory
  5473. </summary>
  5474. </member>
  5475. <member name="M:FreeSql.CoreStrings.ObjectPool_Get_Timeout(System.Object,System.Object,System.Object)">
  5476. <summary>
  5477. 【{policyName}】ObjectPool.{GetName}() timeout {totalSeconds} seconds, see: https://github.com/dotnetcore/FreeSql/discussions/1081
  5478. </summary>
  5479. </member>
  5480. <member name="M:FreeSql.CoreStrings.ObjectPool_GetAsync_Queue_Long(System.Object,System.Object)">
  5481. <summary>
  5482. 【{policyName}】ObjectPool.GetAsync() The queue is too long. Policy.AsyncGetCapacity = {asyncGetCapacity}
  5483. </summary>
  5484. </member>
  5485. <member name="M:FreeSql.CoreStrings.OneToMany_NotFound_CorrespondingField(System.Object,System.Object,System.Object,System.Object,System.Object)">
  5486. <summary>
  5487. 【OneToMany】导航属性 {trytbTypeName}.{pnvName} 在 {tbrefCsName} 中没有找到对应的字段,如:{findtrytb}{findtrytbPkCsName}、{findtrytb}_{findtrytbPkCsName}
  5488. </summary>
  5489. </member>
  5490. <member name="M:FreeSql.CoreStrings.OneToMany_ParsingError_InconsistentType(System.Object,System.Object,System.Object,System.Object,System.Object,System.Object)">
  5491. <summary>
  5492. 【OneToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,{trytbCsName}.{trytbPrimarysCsName} 和 {tbrefCsName}.{trycolCsName} 类型不一致
  5493. </summary>
  5494. </member>
  5495. <member name="M:FreeSql.CoreStrings.OneToMany_UseNavigate(System.Object,System.Object)">
  5496. <summary>
  5497. 、{refpropName}{findtrytbPkCsName}、{refpropName}_{findtrytbPkCsName}。或者使用 [Navigate] 特性指定关系映射。
  5498. </summary>
  5499. </member>
  5500. <member name="P:FreeSql.CoreStrings.Parameter_Field_NotSpecified">
  5501. <summary>
  5502. 参数 field 未指定
  5503. </summary>
  5504. </member>
  5505. <member name="M:FreeSql.CoreStrings.ParameterError_NotValid_Collection(System.Object)">
  5506. <summary>
  5507. {property} 参数错误,它不是集合属性,必须为 IList&lt;T&gt; 或者 ICollection&lt;T&gt;
  5508. </summary>
  5509. </member>
  5510. <member name="M:FreeSql.CoreStrings.ParameterError_NotValid_Navigation(System.Object)">
  5511. <summary>
  5512. {property} 参数错误,它不是有效的导航属性
  5513. </summary>
  5514. </member>
  5515. <member name="M:FreeSql.CoreStrings.ParameterError_NotValid_PropertyName(System.Object,System.Object,System.Object)">
  5516. <summary>
  5517. {where} 参数错误,{keyval} 不是有效的属性名,在实体类 {reftbTypeDisplayCsharp} 无法找到
  5518. </summary>
  5519. </member>
  5520. <member name="M:FreeSql.CoreStrings.ParameterError_NotValid_UseCommas(System.Object)">
  5521. <summary>
  5522. {property} 参数错误,格式 "TopicId=Id,多组使用逗号连接"
  5523. </summary>
  5524. </member>
  5525. <member name="M:FreeSql.CoreStrings.Parsing_Failed(System.Object,System.Object)">
  5526. <summary>
  5527. 解析失败 {callExpMethodName} {message}
  5528. </summary>
  5529. </member>
  5530. <member name="M:FreeSql.CoreStrings.Policy_ObjectPool_Dispose(System.Object)">
  5531. <summary>
  5532. 【{policyName}】The ObjectPool has been disposed, see: https://github.com/dotnetcore/FreeSql/discussions/1079
  5533. </summary>
  5534. </member>
  5535. <member name="M:FreeSql.CoreStrings.Policy_Status_NotAvailable(System.Object,System.Object)">
  5536. <summary>
  5537. 【{policyName}】状态不可用,等待后台检查程序恢复方可使用。{UnavailableExceptionMessage}
  5538. </summary>
  5539. </member>
  5540. <member name="M:FreeSql.CoreStrings.Properties_AsRowLock_Must_Numeric_Byte(System.Object)">
  5541. <summary>
  5542. 属性{trytbVersionColumnCsName} 被标注为行锁(乐观锁)(IsVersion),但其必须为数字类型 或者 byte[] 或者 string,并且不可为 Nullable
  5543. </summary>
  5544. </member>
  5545. <member name="P:FreeSql.CoreStrings.Properties_Cannot_Null">
  5546. <summary>
  5547. properties 参数不能为空
  5548. </summary>
  5549. </member>
  5550. <member name="M:FreeSql.CoreStrings.Property_Cannot_Find(System.Object)">
  5551. <summary>
  5552. {property} 属性名无法找到
  5553. </summary>
  5554. </member>
  5555. <member name="P:FreeSql.CoreStrings.Range_Comma_Separateda_By2Char">
  5556. <summary>
  5557. Range 要求 Value 应该逗号分割,并且长度为 2
  5558. </summary>
  5559. </member>
  5560. <member name="P:FreeSql.CoreStrings.RollBack">
  5561. <summary>
  5562. 回滚
  5563. </summary>
  5564. </member>
  5565. <member name="P:FreeSql.CoreStrings.RunTimeError_Reflection_IncludeMany">
  5566. <summary>
  5567. 运行时错误,反射获取 IncludeMany 方法失败
  5568. </summary>
  5569. </member>
  5570. <member name="P:FreeSql.CoreStrings.S_Access_InsertOnlyOneAtTime">
  5571. <summary>
  5572. 蛋疼的 Access 插入只能一条一条执行,不支持 values(..),(..) 也不支持 select .. UNION ALL select ..
  5573. </summary>
  5574. </member>
  5575. <member name="P:FreeSql.CoreStrings.S_BaseEntity_Initialization_Error">
  5576. <summary>
  5577. BaseEntity.Initialization 初始化错误,获取到 IFreeSql 是 null
  5578. </summary>
  5579. </member>
  5580. <member name="M:FreeSql.CoreStrings.S_BlockAccess_WaitForRecovery(System.Object,System.Object)">
  5581. <summary>
  5582. 【{thisName}】Block access and wait for recovery: {exMessage}
  5583. </summary>
  5584. </member>
  5585. <member name="M:FreeSql.CoreStrings.S_CannotBeConverted_To_ISelect(System.Object)">
  5586. <summary>
  5587. 无法将 IQueryable&lt;{typeofName}&gt; 转换为 ISelect&lt;{typeofName}&gt;,因为他的实现不是 FreeSql.Extensions.Linq.QueryableProvider
  5588. </summary>
  5589. </member>
  5590. <member name="P:FreeSql.CoreStrings.S_ConnectionStringError">
  5591. <summary>
  5592. 连接字符串错误
  5593. </summary>
  5594. </member>
  5595. <member name="M:FreeSql.CoreStrings.S_ConnectionStringError_Check(System.Object)">
  5596. <summary>
  5597. 【{thisName}】连接字符串错误,请检查。
  5598. </summary>
  5599. </member>
  5600. <member name="P:FreeSql.CoreStrings.S_ConnectionStringError_CheckProject">
  5601. <summary>
  5602. 连接字符串错误,或者检查项目属性 &gt; 生成 &gt; 目标平台:x86 | x64,或者改用 FreeSql.Provider.SqliteCore 访问 arm 平台
  5603. </summary>
  5604. </member>
  5605. <member name="M:FreeSql.CoreStrings.S_ConnectionStringError_CheckProjectConnection(System.Object)">
  5606. <summary>
  5607. 【{thisName}】连接字符串错误,请检查。或者检查项目属性 &gt; 生成 &gt; 目标平台:x86 | x64,或者改用 FreeSql.Provider.SqliteCore 访问 arm 平台
  5608. </summary>
  5609. </member>
  5610. <member name="P:FreeSql.CoreStrings.S_CustomAdapter_Cannot_Use_CreateCommand">
  5611. <summary>
  5612. FreeSql.Provider.CustomAdapter 无法使用 CreateCommand
  5613. </summary>
  5614. </member>
  5615. <member name="P:FreeSql.CoreStrings.S_CustomAdapter_OnlySuppport_UseConnectionFactory">
  5616. <summary>
  5617. FreeSql.Provider.CustomAdapter 仅支持 UseConnectionFactory 方式构建 IFreeSql
  5618. </summary>
  5619. </member>
  5620. <member name="M:FreeSql.CoreStrings.S_Dameng_NotSupport_TablespaceSchemas(System.Object)">
  5621. <summary>
  5622. 达梦 CodeFirst 不支持代码创建 tablespace 与 schemas {tbname}
  5623. </summary>
  5624. </member>
  5625. <member name="P:FreeSql.CoreStrings.S_DB_Parameter_Error_NoConnectionString">
  5626. <summary>
  5627. -DB 参数错误,未提供 ConnectionString
  5628. </summary>
  5629. </member>
  5630. <member name="P:FreeSql.CoreStrings.S_DB_ParameterError">
  5631. <summary>
  5632. -DB 参数错误,格式为:MySql,ConnectionString
  5633. </summary>
  5634. </member>
  5635. <member name="M:FreeSql.CoreStrings.S_DB_ParameterError_UnsupportedType(System.Object)">
  5636. <summary>
  5637. -DB 参数错误,不支持的类型:"{dbargs}"
  5638. </summary>
  5639. </member>
  5640. <member name="M:FreeSql.CoreStrings.S_Features_Unique(System.Object,System.Object)">
  5641. <summary>
  5642. {method} 是 FreeSql.Provider.{provider} 特有的功能
  5643. </summary>
  5644. </member>
  5645. <member name="P:FreeSql.CoreStrings.S_InsertOrUpdate_Unable_UpdateColumns">
  5646. <summary>
  5647. fsql.InsertOrUpdate Sqlite 无法完成 UpdateColumns 操作
  5648. </summary>
  5649. </member>
  5650. <member name="P:FreeSql.CoreStrings.S_MasterDatabase">
  5651. <summary>
  5652. 主库
  5653. </summary>
  5654. </member>
  5655. <member name="M:FreeSql.CoreStrings.S_MygisGeometry_NotImplement(System.Object)">
  5656. <summary>
  5657. MygisGeometry.Parse 未实现 "{wkt}"
  5658. </summary>
  5659. </member>
  5660. <member name="P:FreeSql.CoreStrings.S_NameOptions_Incorrect">
  5661. <summary>
  5662. -NameOptions 参数错误,格式为:0,0,0,0
  5663. </summary>
  5664. </member>
  5665. <member name="P:FreeSql.CoreStrings.S_Not_Implemented_Feature">
  5666. <summary>
  5667. 未实现该功能
  5668. </summary>
  5669. </member>
  5670. <member name="P:FreeSql.CoreStrings.S_Not_Implemented_FeedBack">
  5671. <summary>
  5672. 未实现错误,请反馈给作者
  5673. </summary>
  5674. </member>
  5675. <member name="M:FreeSql.CoreStrings.S_NotFound_Name(System.Object)">
  5676. <summary>
  5677. 找不到 {name}
  5678. </summary>
  5679. </member>
  5680. <member name="M:FreeSql.CoreStrings.S_NotImplementSkipOffset(System.Object)">
  5681. <summary>
  5682. FreeSql.Provider.{providerName} 未实现 Skip/Offset 功能,如果需要分页请使用判断上一次 id
  5683. </summary>
  5684. </member>
  5685. <member name="P:FreeSql.CoreStrings.S_ObjectPool">
  5686. <summary>
  5687. 对象池
  5688. </summary>
  5689. </member>
  5690. <member name="M:FreeSql.CoreStrings.S_OldTableExists(System.Object,System.Object)">
  5691. <summary>
  5692. 旧表(OldName):{tboldname} 存在,数据库已存在 {tbname} 表,无法改名
  5693. </summary>
  5694. </member>
  5695. <member name="P:FreeSql.CoreStrings.S_OnConflictDoUpdate_MustIsPrimary">
  5696. <summary>
  5697. OnConflictDoUpdate 功能要求实体类必须设置 IsPrimary 属性
  5698. </summary>
  5699. </member>
  5700. <member name="M:FreeSql.CoreStrings.S_Oracle_NotSupport_TablespaceSchemas(System.Object)">
  5701. <summary>
  5702. Oracle CodeFirst 不支持代码创建 tablespace 与 schemas {tbname}
  5703. </summary>
  5704. </member>
  5705. <member name="M:FreeSql.CoreStrings.S_ParsingFailed_UseRestoreToSelect(System.Object,System.Object)">
  5706. <summary>
  5707. 解析失败 {callExpMethodName} {message},提示:可以使用扩展方法 IQueryable.RestoreToSelect() 还原为 ISelect 再查询
  5708. </summary>
  5709. </member>
  5710. <member name="M:FreeSql.CoreStrings.S_RequiresEntityPrimaryKey(System.Object,System.Object)">
  5711. <summary>
  5712. fsql.InsertOrUpdate + IfExistsDoNothing + {providerName}要求实体类 {tableCsName} 必须有主键
  5713. </summary>
  5714. </member>
  5715. <member name="M:FreeSql.CoreStrings.S_SelectManayErrorType(System.Object)">
  5716. <summary>
  5717. SelectMany 错误的类型:{typeFullName}
  5718. </summary>
  5719. </member>
  5720. <member name="P:FreeSql.CoreStrings.S_SlaveDatabase">
  5721. <summary>
  5722. 从库
  5723. </summary>
  5724. </member>
  5725. <member name="M:FreeSql.CoreStrings.S_Type_IsNot_Migrable(System.Object)">
  5726. <summary>
  5727. 类型 {objentityTypeFullName} 不可迁移
  5728. </summary>
  5729. </member>
  5730. <member name="M:FreeSql.CoreStrings.S_Type_IsNot_Migrable_0Attributes(System.Object)">
  5731. <summary>
  5732. 类型 {objentityTypeFullName} 不可迁移,可迁移属性0个
  5733. </summary>
  5734. </member>
  5735. <member name="M:FreeSql.CoreStrings.S_TypeMappingNotImplemented(System.Object)">
  5736. <summary>
  5737. 未实现 {columnDbTypeTextFull} 类型映射
  5738. </summary>
  5739. </member>
  5740. <member name="M:FreeSql.CoreStrings.S_WrongParameter(System.Object)">
  5741. <summary>
  5742. 错误的参数设置:{args}
  5743. </summary>
  5744. </member>
  5745. <member name="M:FreeSql.CoreStrings.Set_Column_IsNullable_False(System.Object)">
  5746. <summary>
  5747. {qoteSql} is NULL,除非设置特性 [Column(IsNullable = false)]
  5748. </summary>
  5749. </member>
  5750. <member name="M:FreeSql.CoreStrings.SubTableFieldValue_CannotLessThen(System.Object,System.Object)">
  5751. <summary>
  5752. 分表字段值 "{dt}" 不能小于 "{beginTime} "
  5753. </summary>
  5754. </member>
  5755. <member name="P:FreeSql.CoreStrings.SubTableFieldValue_IsNotNull">
  5756. <summary>
  5757. 分表字段值不能为 null
  5758. </summary>
  5759. </member>
  5760. <member name="M:FreeSql.CoreStrings.SubTableFieldValue_NotConvertDateTime(System.Object)">
  5761. <summary>
  5762. 分表字段值 "{columnValue}" 不能转化成 DateTime
  5763. </summary>
  5764. </member>
  5765. <member name="M:FreeSql.CoreStrings.SubTableFieldValue_NotMatchTable(System.Object)">
  5766. <summary>
  5767. 分表字段值 "{dt}" 未匹配到分表名
  5768. </summary>
  5769. </member>
  5770. <member name="P:FreeSql.CoreStrings.T2_Type_Error">
  5771. <summary>
  5772. T2 类型错误
  5773. </summary>
  5774. </member>
  5775. <member name="M:FreeSql.CoreStrings.TableName_Format_Error(System.Object)">
  5776. <summary>
  5777. tableName 格式错误,示例:“log_{yyyyMMdd}”
  5778. </summary>
  5779. </member>
  5780. <member name="M:FreeSql.CoreStrings.Type_AsType_Parameter_Error(System.Object)">
  5781. <summary>
  5782. {Type}.AsType 参数错误,请传入正确的实体类型
  5783. </summary>
  5784. </member>
  5785. <member name="M:FreeSql.CoreStrings.Type_Cannot_Access_Constructor(System.Object)">
  5786. <summary>
  5787. {thatFullName} 类型无法访问构造函数
  5788. </summary>
  5789. </member>
  5790. <member name="M:FreeSql.CoreStrings.Type_Error_Name(System.Object)">
  5791. <summary>
  5792. {name} 类型错误
  5793. </summary>
  5794. </member>
  5795. <member name="M:FreeSql.CoreStrings.TypeAsType_NotSupport_Object(System.Object)">
  5796. <summary>
  5797. {Type}.AsType 参数不支持指定为 object
  5798. </summary>
  5799. </member>
  5800. <member name="M:FreeSql.CoreStrings.TypeError_CannotUse_IncludeMany(System.Object)">
  5801. <summary>
  5802. 类型 {typeofFullName} 错误,不能使用 IncludeMany
  5803. </summary>
  5804. </member>
  5805. <member name="M:FreeSql.CoreStrings.Unable_Parse_Expression(System.Object)">
  5806. <summary>
  5807. 无法解析表达式:{exp}
  5808. </summary>
  5809. </member>
  5810. <member name="M:FreeSql.CoreStrings.Unable_Parse_ExpressionMethod(System.Object)">
  5811. <summary>
  5812. 无法解析表达式方法 {exp3tmpCallMethodName}
  5813. </summary>
  5814. </member>
  5815. <member name="P:FreeSql.CoreStrings.Use_InsertDict_Method">
  5816. <summary>
  5817. 请使用 fsql.InsertDict(dict) 方法插入字典数据
  5818. </summary>
  5819. </member>
  5820. <member name="M:FreeSqlGlobalExpressionCallExtensions.Between(System.DateTime,System.DateTime,System.DateTime)">
  5821. <summary>
  5822. C#: that >= between &amp;&amp; that &lt;= and<para></para>
  5823. SQL: that BETWEEN between AND and
  5824. </summary>
  5825. <param name="that"></param>
  5826. <param name="between"></param>
  5827. <param name="and"></param>
  5828. <returns></returns>
  5829. </member>
  5830. <member name="M:FreeSqlGlobalExpressionCallExtensions.BetweenEnd(System.DateTime,System.DateTime,System.DateTime)">
  5831. <summary>
  5832. 注意:这个方法和 Between 有细微区别<para></para>
  5833. C#: that >= start &amp;&amp; that &lt; end<para></para>
  5834. SQL: that >= start and that &lt; end
  5835. </summary>
  5836. <param name="that"></param>
  5837. <param name="start"></param>
  5838. <param name="end"></param>
  5839. <returns></returns>
  5840. </member>
  5841. <member name="M:FreeSqlGlobalExtensions.DisplayCsharp(System.Type,System.Boolean)">
  5842. <summary>
  5843. 获取 Type 的原始 c# 文本表示
  5844. </summary>
  5845. <param name="type"></param>
  5846. <param name="isNameSpace"></param>
  5847. <returns></returns>
  5848. </member>
  5849. <member name="M:FreeSqlGlobalExtensions.Distance(System.Drawing.Point,System.Drawing.Point)">
  5850. <summary>
  5851. 测量两个经纬度的距离,返回单位:米
  5852. </summary>
  5853. <param name="that">经纬坐标1</param>
  5854. <param name="point">经纬坐标2</param>
  5855. <returns>返回距离(单位:米)</returns>
  5856. </member>
  5857. <member name="M:FreeSqlGlobalExtensions.AsSelect``1(System.Collections.Generic.IEnumerable{``0})">
  5858. <summary>
  5859. 将 IEnumable&lt;T&gt; 转成 ISelect&lt;T&gt;,以便使用 FreeSql 的查询功能。此方法用于 Lambda 表达式中,快速进行集合导航的查询。
  5860. </summary>
  5861. <typeparam name="TEntity"></typeparam>
  5862. <param name="that"></param>
  5863. <returns></returns>
  5864. </member>
  5865. <member name="M:FreeSqlGlobalExtensions.Select``2(IFreeSql)">
  5866. <summary>
  5867. 多表查询
  5868. </summary>
  5869. <returns></returns>
  5870. </member>
  5871. <member name="M:FreeSqlGlobalExtensions.IncludeMany``2(System.Collections.Generic.List{``0},IFreeSql,System.Linq.Expressions.Expression{System.Func{``0,System.Collections.Generic.IEnumerable{``1}}},System.Action{FreeSql.ISelect{``1}})">
  5872. <summary>
  5873. 本方法实现从已知的内存 List 数据,进行和 ISelect.IncludeMany 相同功能的贪婪加载<para></para>
  5874. 示例:new List&lt;Song&gt;(new[] { song1, song2, song3 }).IncludeMany(fsql, a => a.Tags);<para></para>
  5875. 文档:https://github.com/dotnetcore/FreeSql/wiki/%E8%B4%AA%E5%A9%AA%E5%8A%A0%E8%BD%BD
  5876. </summary>
  5877. <typeparam name="T1"></typeparam>
  5878. <typeparam name="TNavigate"></typeparam>
  5879. <param name="list"></param>
  5880. <param name="orm"></param>
  5881. <param name="navigateSelector">选择一个集合的导航属性,如: .IncludeMany(a => a.Tags)<para></para>
  5882. 可以 .Where 设置临时的关系映射,如: .IncludeMany(a => a.Tags.Where(tag => tag.TypeId == a.Id))<para></para>
  5883. 可以 .Take(5) 每个子集合只取5条,如: .IncludeMany(a => a.Tags.Take(5))<para></para>
  5884. 可以 .Select 设置只查询部分字段,如: (a => new TNavigate { Title = a.Title })
  5885. </param>
  5886. <param name="then">即能 ThenInclude,还可以二次过滤(这个 EFCore 做不到?)</param>
  5887. <returns></returns>
  5888. </member>
  5889. <member name="M:FreeSqlGlobalExtensions.IncludeByPropertyName``1(System.Collections.Generic.List{``0},IFreeSql,System.String,System.String,System.Int32,System.String,System.Linq.Expressions.Expression{System.Action{FreeSql.ISelect{System.Object}}})">
  5890. <summary>
  5891. 本方法实现从已知的内存 List 数据,进行和 ISelect.IncludeMany/Include 相同功能的贪婪加载<para></para>
  5892. 集合:new List&lt;Song&gt;(new[] { song1, song2, song3 }).IncludeByPropertyName(fsql, "Tags", "ParentId=Id", 5, "Id,Name");<para></para>
  5893. 普通:new List&lt;Song&gt;(new[] { song1, song2, song3 }).IncludeByPropertyName(fsql, "Catetory"); <para></para>
  5894. ---普通属性 where/take/select 参数将无效<para></para>
  5895. 文档:https://github.com/dotnetcore/FreeSql/wiki/%E8%B4%AA%E5%A9%AA%E5%8A%A0%E8%BD%BD
  5896. </summary>
  5897. <typeparam name="T1"></typeparam>
  5898. <param name="list"></param>
  5899. <param name="orm"></param>
  5900. <param name="property">选择一个集合或普通属性</param>
  5901. <param name="where">设置临时的子集合关系映射,格式:子类属性=T1属性,多组以逗号分割</param>
  5902. <param name="take">设置子集合只取条数</param>
  5903. <param name="select">设置子集合只查询部分字段</param>
  5904. <returns></returns>
  5905. <exception cref="T:System.ArgumentException"></exception>
  5906. </member>
  5907. <member name="M:FreeSqlGlobalExtensions.ToTreeList``1(FreeSql.ISelect{``0})">
  5908. <summary>
  5909. 查询数据,加工为树型 List 返回<para></para>
  5910. 注意:实体需要配置父子导航属性
  5911. </summary>
  5912. <typeparam name="T1"></typeparam>
  5913. <param name="that"></param>
  5914. <returns></returns>
  5915. </member>
  5916. <member name="M:FreeSqlGlobalExtensions.AsTreeCte``1(FreeSql.ISelect{``0},System.Linq.Expressions.Expression{System.Func{``0,System.String}},System.Boolean,System.String,System.Int32)">
  5917. <summary>
  5918. 使用递归 CTE 查询树型的所有子记录,或者所有父记录。<para></para>
  5919. 通过测试的数据库:MySql8.0、SqlServer、PostgreSQL、Oracle、Sqlite、Firebird、达梦、人大金仓、翰高<para></para>
  5920. 返回隐藏字段:.ToList(a =&gt; new { item = a, level = "a.cte_level", path = "a.cte_path" })<para></para>
  5921. * v2.0.0 兼容 MySql5.6 向上或向下查询,但不支持 pathSelector/pathSeparator 详细:https://github.com/dotnetcore/FreeSql/issues/536
  5922. </summary>
  5923. <typeparam name="T1"></typeparam>
  5924. <param name="that"></param>
  5925. <param name="up">false(默认):由父级向子级的递归查询<para></para>true:由子级向父级的递归查询</param>
  5926. <param name="pathSelector">路径内容选择</param>
  5927. <param name="pathSeparator">连接路径内容</param>
  5928. <param name="level">递归层级</param>
  5929. <returns></returns>
  5930. </member>
  5931. <member name="M:FreeSqlGlobalExtensions.OrderByRandom``2(FreeSql.ISelect0{``0,``1})">
  5932. <summary>
  5933. 随机排序<para></para>
  5934. 支持:MySql/SqlServer/PostgreSQL/Oracle/Sqlite/Firebird/达梦/金仓/神通<para></para>
  5935. 不支持:MsAcess
  5936. </summary>
  5937. <returns></returns>
  5938. </member>
  5939. <member name="M:FreeSqlGlobalExtensions.InsertDict(IFreeSql,System.Collections.Generic.Dictionary{System.String,System.Object})">
  5940. <summary>
  5941. 插入数据字典 Dictionary&lt;string, object&gt;
  5942. </summary>
  5943. <param name="source"></param>
  5944. <returns></returns>
  5945. </member>
  5946. <member name="M:FreeSqlGlobalExtensions.InsertDict(IFreeSql,System.Collections.Generic.IEnumerable{System.Collections.Generic.Dictionary{System.String,System.Object}})">
  5947. <summary>
  5948. 插入数据字典,传入 Dictionary&lt;string, object&gt; 集合
  5949. </summary>
  5950. <param name="source"></param>
  5951. <returns></returns>
  5952. </member>
  5953. <member name="M:FreeSqlGlobalExtensions.UpdateDict(IFreeSql,System.Collections.Generic.Dictionary{System.String,System.Object})">
  5954. <summary>
  5955. 更新数据字典 Dictionary&lt;string, object&gt;
  5956. </summary>
  5957. <param name="source"></param>
  5958. <returns></returns>
  5959. </member>
  5960. <member name="M:FreeSqlGlobalExtensions.UpdateDict(IFreeSql,System.Collections.Generic.IEnumerable{System.Collections.Generic.Dictionary{System.String,System.Object}})">
  5961. <summary>
  5962. 更新数据字典,传入 Dictionary&lt;string, object&gt; 集合
  5963. </summary>
  5964. <param name="source"></param>
  5965. <returns></returns>
  5966. </member>
  5967. <member name="M:FreeSqlGlobalExtensions.InsertOrUpdateDict(IFreeSql,System.Collections.Generic.Dictionary{System.String,System.Object})">
  5968. <summary>
  5969. 插入或更新数据字典,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
  5970. MySql 5.6+: on duplicate key update<para></para>
  5971. PostgreSQL 9.4+: on conflict do update<para></para>
  5972. SqlServer 2008+: merge into<para></para>
  5973. Oracle 11+: merge into<para></para>
  5974. Sqlite: replace into<para></para>
  5975. 达梦: merge into<para></para>
  5976. 人大金仓:on conflict do update<para></para>
  5977. 神通:merge into<para></para>
  5978. MsAccess:不支持<para></para>
  5979. </summary>
  5980. <param name="source"></param>
  5981. <returns></returns>
  5982. </member>
  5983. <member name="M:FreeSqlGlobalExtensions.DeleteDict(IFreeSql,System.Collections.Generic.Dictionary{System.String,System.Object})">
  5984. <summary>
  5985. 删除数据字典 Dictionary&lt;string, object&gt;
  5986. </summary>
  5987. <param name="source"></param>
  5988. <returns></returns>
  5989. </member>
  5990. <member name="M:FreeSqlGlobalExtensions.DeleteDict(IFreeSql,System.Collections.Generic.IEnumerable{System.Collections.Generic.Dictionary{System.String,System.Object}})">
  5991. <summary>
  5992. 删除数据字典,传入 Dictionary&lt;string, object&gt; 集合
  5993. </summary>
  5994. <param name="source"></param>
  5995. <returns></returns>
  5996. </member>
  5997. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
  5998. <summary>
  5999. 使用 and 拼接两个 lambda 表达式
  6000. </summary>
  6001. <returns></returns>
  6002. </member>
  6003. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
  6004. <summary>
  6005. 使用 and 拼接两个 lambda 表达式
  6006. </summary>
  6007. <param name="exp1"></param>
  6008. <param name="condition">true 时生效</param>
  6009. <param name="exp2"></param>
  6010. <returns></returns>
  6011. </member>
  6012. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
  6013. <summary>
  6014. 使用 or 拼接两个 lambda 表达式
  6015. </summary>
  6016. <returns></returns>
  6017. </member>
  6018. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
  6019. <summary>
  6020. 使用 or 拼接两个 lambda 表达式
  6021. </summary>
  6022. <param name="exp1"></param>
  6023. <param name="condition">true 时生效</param>
  6024. <param name="exp2"></param>
  6025. <returns></returns>
  6026. </member>
  6027. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean)">
  6028. <summary>
  6029. 将 lambda 表达式取反
  6030. </summary>
  6031. <param name="exp"></param>
  6032. <param name="condition">true 时生效</param>
  6033. <returns></returns>
  6034. </member>
  6035. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``2(System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}})">
  6036. <summary>
  6037. 使用 and 拼接两个 lambda 表达式
  6038. </summary>
  6039. <returns></returns>
  6040. </member>
  6041. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``2(System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}})">
  6042. <summary>
  6043. 使用 and 拼接两个 lambda 表达式
  6044. </summary>
  6045. <param name="exp1"></param>
  6046. <param name="condition">true 时生效</param>
  6047. <param name="exp2"></param>
  6048. <returns></returns>
  6049. </member>
  6050. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``2(System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}})">
  6051. <summary>
  6052. 使用 or 拼接两个 lambda 表达式
  6053. </summary>
  6054. <returns></returns>
  6055. </member>
  6056. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``2(System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}})">
  6057. <summary>
  6058. 使用 or 拼接两个 lambda 表达式
  6059. </summary>
  6060. <param name="exp1"></param>
  6061. <param name="condition">true 时生效</param>
  6062. <param name="exp2"></param>
  6063. <returns></returns>
  6064. </member>
  6065. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``2(System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}},System.Boolean)">
  6066. <summary>
  6067. 将 lambda 表达式取反
  6068. </summary>
  6069. <param name="exp"></param>
  6070. <param name="condition">true 时生效</param>
  6071. <returns></returns>
  6072. </member>
  6073. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``3(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}})">
  6074. <summary>
  6075. 使用 and 拼接两个 lambda 表达式
  6076. </summary>
  6077. <returns></returns>
  6078. </member>
  6079. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``3(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}})">
  6080. <summary>
  6081. 使用 and 拼接两个 lambda 表达式
  6082. </summary>
  6083. <param name="exp1"></param>
  6084. <param name="condition">true 时生效</param>
  6085. <param name="exp2"></param>
  6086. <returns></returns>
  6087. </member>
  6088. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``3(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}})">
  6089. <summary>
  6090. 使用 or 拼接两个 lambda 表达式
  6091. </summary>
  6092. <returns></returns>
  6093. </member>
  6094. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``3(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}})">
  6095. <summary>
  6096. 使用 or 拼接两个 lambda 表达式
  6097. </summary>
  6098. <param name="exp1"></param>
  6099. <param name="condition">true 时生效</param>
  6100. <param name="exp2"></param>
  6101. <returns></returns>
  6102. </member>
  6103. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``3(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}},System.Boolean)">
  6104. <summary>
  6105. 将 lambda 表达式取反
  6106. </summary>
  6107. <param name="exp"></param>
  6108. <param name="condition">true 时生效</param>
  6109. <returns></returns>
  6110. </member>
  6111. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}})">
  6112. <summary>
  6113. 使用 and 拼接两个 lambda 表达式
  6114. </summary>
  6115. <returns></returns>
  6116. </member>
  6117. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}})">
  6118. <summary>
  6119. 使用 and 拼接两个 lambda 表达式
  6120. </summary>
  6121. <param name="exp1"></param>
  6122. <param name="condition">true 时生效</param>
  6123. <param name="exp2"></param>
  6124. <returns></returns>
  6125. </member>
  6126. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}})">
  6127. <summary>
  6128. 使用 or 拼接两个 lambda 表达式
  6129. </summary>
  6130. <returns></returns>
  6131. </member>
  6132. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}})">
  6133. <summary>
  6134. 使用 or 拼接两个 lambda 表达式
  6135. </summary>
  6136. <param name="exp1"></param>
  6137. <param name="condition">true 时生效</param>
  6138. <param name="exp2"></param>
  6139. <returns></returns>
  6140. </member>
  6141. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}},System.Boolean)">
  6142. <summary>
  6143. 将 lambda 表达式取反
  6144. </summary>
  6145. <param name="exp"></param>
  6146. <param name="condition">true 时生效</param>
  6147. <returns></returns>
  6148. </member>
  6149. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``5(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}})">
  6150. <summary>
  6151. 使用 and 拼接两个 lambda 表达式
  6152. </summary>
  6153. <returns></returns>
  6154. </member>
  6155. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.And``5(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}})">
  6156. <summary>
  6157. 使用 and 拼接两个 lambda 表达式
  6158. </summary>
  6159. <param name="exp1"></param>
  6160. <param name="condition">true 时生效</param>
  6161. <param name="exp2"></param>
  6162. <returns></returns>
  6163. </member>
  6164. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``5(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}})">
  6165. <summary>
  6166. 使用 or 拼接两个 lambda 表达式
  6167. </summary>
  6168. <returns></returns>
  6169. </member>
  6170. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Or``5(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}},System.Boolean,System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}})">
  6171. <summary>
  6172. 使用 or 拼接两个 lambda 表达式
  6173. </summary>
  6174. <param name="exp1"></param>
  6175. <param name="condition">true 时生效</param>
  6176. <param name="exp2"></param>
  6177. <returns></returns>
  6178. </member>
  6179. <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``5(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}},System.Boolean)">
  6180. <summary>
  6181. 将 lambda 表达式取反
  6182. </summary>
  6183. <param name="exp"></param>
  6184. <param name="condition">true 时生效</param>
  6185. <returns></returns>
  6186. </member>
  6187. <member name="M:FreeUtil.NewMongodbId">
  6188. <summary>
  6189. 生成类似Mongodb的ObjectId有序、不重复Guid
  6190. </summary>
  6191. <returns></returns>
  6192. </member>
  6193. <member name="M:IFreeSql.Insert``1">
  6194. <summary>
  6195. 插入数据
  6196. </summary>
  6197. <typeparam name="T1"></typeparam>
  6198. <returns></returns>
  6199. </member>
  6200. <member name="M:IFreeSql.Insert``1(``0)">
  6201. <summary>
  6202. 插入数据,传入实体
  6203. </summary>
  6204. <typeparam name="T1"></typeparam>
  6205. <param name="source"></param>
  6206. <returns></returns>
  6207. </member>
  6208. <member name="M:IFreeSql.Insert``1(``0[])">
  6209. <summary>
  6210. 插入数据,传入实体数组
  6211. </summary>
  6212. <typeparam name="T1"></typeparam>
  6213. <param name="source"></param>
  6214. <returns></returns>
  6215. </member>
  6216. <member name="M:IFreeSql.Insert``1(System.Collections.Generic.List{``0})">
  6217. <summary>
  6218. 插入数据,传入实体集合
  6219. </summary>
  6220. <typeparam name="T1"></typeparam>
  6221. <param name="source"></param>
  6222. <returns></returns>
  6223. </member>
  6224. <member name="M:IFreeSql.Insert``1(System.Collections.Generic.IEnumerable{``0})">
  6225. <summary>
  6226. 插入数据,传入实体集合
  6227. </summary>
  6228. <typeparam name="T1"></typeparam>
  6229. <param name="source"></param>
  6230. <returns></returns>
  6231. </member>
  6232. <member name="M:IFreeSql.InsertOrUpdate``1">
  6233. <summary>
  6234. 插入或更新数据,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
  6235. MySql 5.6+: on duplicate key update<para></para>
  6236. PostgreSQL 9.4+: on conflict do update<para></para>
  6237. SqlServer 2008+: merge into<para></para>
  6238. Oracle 11+: merge into<para></para>
  6239. Sqlite: replace into<para></para>
  6240. 达梦: merge into<para></para>
  6241. 人大金仓:on conflict do update<para></para>
  6242. 神通:merge into<para></para>
  6243. MsAccess:不支持<para></para>
  6244. 注意区别:FreeSql.Repository 仓储也有 InsertOrUpdate 方法(不依赖数据库特性)
  6245. </summary>
  6246. <typeparam name="T1"></typeparam>
  6247. <returns></returns>
  6248. </member>
  6249. <member name="M:IFreeSql.Update``1">
  6250. <summary>
  6251. 修改数据
  6252. </summary>
  6253. <typeparam name="T1"></typeparam>
  6254. <returns></returns>
  6255. </member>
  6256. <member name="M:IFreeSql.Update``1(System.Object)">
  6257. <summary>
  6258. 修改数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  6259. </summary>
  6260. <typeparam name="T1"></typeparam>
  6261. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  6262. <returns></returns>
  6263. </member>
  6264. <member name="M:IFreeSql.Select``1">
  6265. <summary>
  6266. 查询数据
  6267. </summary>
  6268. <typeparam name="T1"></typeparam>
  6269. <returns></returns>
  6270. </member>
  6271. <member name="M:IFreeSql.Select``1(System.Object)">
  6272. <summary>
  6273. 查询数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  6274. </summary>
  6275. <typeparam name="T1"></typeparam>
  6276. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  6277. <returns></returns>
  6278. </member>
  6279. <member name="M:IFreeSql.Delete``1">
  6280. <summary>
  6281. 删除数据
  6282. </summary>
  6283. <typeparam name="T1"></typeparam>
  6284. <returns></returns>
  6285. </member>
  6286. <member name="M:IFreeSql.Delete``1(System.Object)">
  6287. <summary>
  6288. 删除数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  6289. </summary>
  6290. <typeparam name="T1"></typeparam>
  6291. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  6292. <returns></returns>
  6293. </member>
  6294. <member name="M:IFreeSql.Transaction(System.Action)">
  6295. <summary>
  6296. 开启事务(不支持异步)<para></para>
  6297. v1.5.0 关闭了线程事务超时自动提交的机制
  6298. </summary>
  6299. <param name="handler">事务体 () => {}</param>
  6300. </member>
  6301. <member name="M:IFreeSql.Transaction(System.Data.IsolationLevel,System.Action)">
  6302. <summary>
  6303. 开启事务(不支持异步)<para></para>
  6304. v1.5.0 关闭了线程事务超时自动提交的机制
  6305. </summary>
  6306. <param name="isolationLevel"></param>
  6307. <param name="handler">事务体 () => {}</param>
  6308. </member>
  6309. <member name="P:IFreeSql.Ado">
  6310. <summary>
  6311. 数据库访问对象
  6312. </summary>
  6313. </member>
  6314. <member name="P:IFreeSql.Aop">
  6315. <summary>
  6316. 所有拦截方法都在这里
  6317. </summary>
  6318. </member>
  6319. <member name="P:IFreeSql.CodeFirst">
  6320. <summary>
  6321. CodeFirst 模式开发相关方法
  6322. </summary>
  6323. </member>
  6324. <member name="P:IFreeSql.DbFirst">
  6325. <summary>
  6326. DbFirst 模式开发相关方法
  6327. </summary>
  6328. </member>
  6329. <member name="P:IFreeSql.GlobalFilter">
  6330. <summary>
  6331. 全局过滤设置,可默认附加为 Select/Update/Delete 条件
  6332. </summary>
  6333. </member>
  6334. </members>
  6335. </doc>
  6336. <param name="source"></param>
  6337. <returns></returns>
  6338. </member>
  6339. <member name="M:IFreeSql.Insert``1(System.Collections.Generic.List{``0})">
  6340. <summary>
  6341. 插入数据,传入实体集合
  6342. </summary>
  6343. <typeparam name="T1"></typeparam>
  6344. <param name="source"></param>
  6345. <returns></returns>
  6346. </member>
  6347. <member name="M:IFreeSql.Insert``1(System.Collections.Generic.IEnumerable{``0})">
  6348. <summary>
  6349. 插入数据,传入实体集合
  6350. </summary>
  6351. <typeparam name="T1"></typeparam>
  6352. <param name="source"></param>
  6353. <returns></returns>
  6354. </member>
  6355. <member name="M:IFreeSql.InsertOrUpdate``1">
  6356. <summary>
  6357. 插入或更新数据,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
  6358. MySql 5.6+: on duplicate key update<para></para>
  6359. PostgreSQL 9.4+: on conflict do update<para></para>
  6360. SqlServer 2008+: merge into<para></para>
  6361. Oracle 11+: merge into<para></para>
  6362. Sqlite: replace into<para></para>
  6363. 达梦: merge into<para></para>
  6364. 人大金仓:on conflict do update<para></para>
  6365. 神通:merge into<para></para>
  6366. MsAccess:不支持<para></para>
  6367. 注意区别:FreeSql.Repository 仓储也有 InsertOrUpdate 方法(不依赖数据库特性)
  6368. </summary>
  6369. <typeparam name="T1"></typeparam>
  6370. <returns></returns>
  6371. </member>
  6372. <member name="M:IFreeSql.Update``1">
  6373. <summary>
  6374. 修改数据
  6375. </summary>
  6376. <typeparam name="T1"></typeparam>
  6377. <returns></returns>
  6378. </member>
  6379. <member name="M:IFreeSql.Update``1(System.Object)">
  6380. <summary>
  6381. 修改数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  6382. </summary>
  6383. <typeparam name="T1"></typeparam>
  6384. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  6385. <returns></returns>
  6386. </member>
  6387. <member name="M:IFreeSql.Select``1">
  6388. <summary>
  6389. 查询数据
  6390. </summary>
  6391. <typeparam name="T1"></typeparam>
  6392. <returns></returns>
  6393. </member>
  6394. <member name="M:IFreeSql.Select``1(System.Object)">
  6395. <summary>
  6396. 查询数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  6397. </summary>
  6398. <typeparam name="T1"></typeparam>
  6399. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  6400. <returns></returns>
  6401. </member>
  6402. <member name="M:IFreeSql.Delete``1">
  6403. <summary>
  6404. 删除数据
  6405. </summary>
  6406. <typeparam name="T1"></typeparam>
  6407. <returns></returns>
  6408. </member>
  6409. <member name="M:IFreeSql.Delete``1(System.Object)">
  6410. <summary>
  6411. 删除数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
  6412. </summary>
  6413. <typeparam name="T1"></typeparam>
  6414. <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
  6415. <returns></returns>
  6416. </member>
  6417. <member name="M:IFreeSql.Transaction(System.Action)">
  6418. <summary>
  6419. 开启事务(不支持异步)<para></para>
  6420. v1.5.0 关闭了线程事务超时自动提交的机制
  6421. </summary>
  6422. <param name="handler">事务体 () => {}</param>
  6423. </member>
  6424. <member name="M:IFreeSql.Transaction(System.Data.IsolationLevel,System.Action)">
  6425. <summary>
  6426. 开启事务(不支持异步)<para></para>
  6427. v1.5.0 关闭了线程事务超时自动提交的机制
  6428. </summary>
  6429. <param name="isolationLevel"></param>
  6430. <param name="handler">事务体 () => {}</param>
  6431. </member>
  6432. <member name="P:IFreeSql.Ado">
  6433. <summary>
  6434. 数据库访问对象
  6435. </summary>
  6436. </member>
  6437. <member name="P:IFreeSql.Aop">
  6438. <summary>
  6439. 所有拦截方法都在这里
  6440. </summary>
  6441. </member>
  6442. <member name="P:IFreeSql.CodeFirst">
  6443. <summary>
  6444. CodeFirst 模式开发相关方法
  6445. </summary>
  6446. </member>
  6447. <member name="P:IFreeSql.DbFirst">
  6448. <summary>
  6449. DbFirst 模式开发相关方法
  6450. </summary>
  6451. </member>
  6452. <member name="P:IFreeSql.GlobalFilter">
  6453. <summary>
  6454. 全局过滤设置,可默认附加为 Select/Update/Delete 条件
  6455. </summary>
  6456. </member>
  6457. </members>
  6458. </doc>