1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>FreeSql</name>
- </assembly>
- <members>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.Name">
- <summary>
- 数据库列名
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.OldName">
- <summary>
- 指定数据库旧的列名,修改实体属性命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库字段;否则将视为【新增字段】
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.DbType">
- <summary>
- 数据库类型,如: varchar(255) <para></para>
- 字符串长度,可使用特性 [MaxLength(255)]
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsPrimary">
- <summary>
- 主键
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsIdentity">
- <summary>
- 自增标识
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsNullable">
- <summary>
- 是否可DBNull
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsIgnore">
- <summary>
- 忽略此列,不迁移、不插入
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.IsVersion">
- <summary>
- 设置行锁(乐观锁)版本号,每次更新累加版本号,若更新整个实体时会附带当前的版本号判断(修改失败时抛出异常)
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.MapType">
- <summary>
- 类型映射,除了可做基本的类型映射外,特别介绍的功能:<para></para>
- 1、将 enum 属性映射成 typeof(string)<para></para>
- 2、将 对象 属性映射成 typeof(string),请安装扩展包 FreeSql.Extensions.JsonMap
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.Position">
- <summary>
- 创建表时字段的位置(场景:实体继承后设置字段顺序),规则如下:
- <para></para>
- >0时排前面,1,2,3...
- <para></para>
- =0时排中间(默认)
- <para></para>
- <0时排后面,...-3,-2,-1
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.CanInsert">
- <summary>
- 该字段是否可以插入,默认值true,指定为false插入时该字段会被忽略
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.CanUpdate">
- <summary>
- 该字段是否可以更新,默认值true,指定为false更新时该字段会被忽略
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.ServerTime">
- <summary>
- 标记属性为数据库服务器时间(utc/local),在插入的时候使用类似 getdate() 执行
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.StringLength">
- <summary>
- 设置长度,针对 string/byte[] 类型避免 DbType 的繁琐设置<para></para>
- 提示:也可以使用 [MaxLength(100)]<para></para>
- ---<para></para>
- StringLength = 100 时,对应 DbType:<para></para>
- MySql -> varchar(100)<para></para>
- SqlServer -> nvarchar(100)<para></para>
- PostgreSQL -> varchar(100)<para></para>
- Oracle -> nvarchar2(100)<para></para>
- Sqlite -> nvarchar(100)<para></para>
- ---<para></para>
- StringLength < 0 时,对应 DbType:<para></para>
- MySql -> text (StringLength = -2 时,对应 longtext)<para></para>
- SqlServer -> nvarchar(max)<para></para>
- PostgreSQL -> text<para></para>
- Oracle -> nclob<para></para>
- Sqlite -> text<para></para>
- v1.6.0+ byte[] 支持设置 StringLength
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.InsertValueSql">
- <summary>
- 执行 Insert 方法时使用此值<para></para>
- 注意:如果是 getdate() 这种请可考虑使用 ServerTime,因为它对数据库间作了适配
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.Precision">
- <summary>
- decimal/numeric 类型的长度
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.Scale">
- <summary>
- decimal/numeric 类型的小数位长度
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.RewriteSql">
- <summary>
- 重写功能<para></para>
- 比如:[Column(RewriteSql = "geography::STGeomFromText({0},4236)")]<para></para>
- 插入:INSERT INTO [table]([geo]) VALUES(geography::STGeomFromText('...',4236))<para></para>
- 提示:更新也生效
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ColumnAttribute.RereadSql">
- <summary>
- 重读功能<para></para>
- 比如:[Column(RereadSql = "{0}.STAsText()")]<para></para>
- 或者:[Column(RereadSql = "{geo}.STAsText()")]<para></para>
- 查询:SELECT a.[id], a.[geo].STAsText() FROM [table] a
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.Name(System.String)">
- <summary>
- 数据库列名
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.OldName(System.String)">
- <summary>
- 指定数据库旧的列名,修改实体属性命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库字段;否则将视为【新增字段】
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.DbType(System.String)">
- <summary>
- 数据库类型,如: varchar(255)
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsPrimary(System.Boolean)">
- <summary>
- 主键
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsIdentity(System.Boolean)">
- <summary>
- 自增标识
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsNullable(System.Boolean)">
- <summary>
- 是否可DBNull
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsIgnore(System.Boolean)">
- <summary>
- 忽略此列,不迁移、不插入
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.IsVersion(System.Boolean)">
- <summary>
- 乐观锁
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.MapType(System.Type)">
- <summary>
- 类型映射,比如:可将 enum 属性映射成 typeof(string)
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.Position(System.Int16)">
- <summary>
- 创建表时字段位置,规则如下:
- <para></para>
- >0时排前面
- <para></para>
- =0时排中间(默认)
- <para></para>
- <0时排后面
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.CanInsert(System.Boolean)">
- <summary>
- 该字段是否可以插入,默认值true,指定为false插入时该字段会被忽略
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.CanUpdate(System.Boolean)">
- <summary>
- 该字段是否可以更新,默认值true,指定为false更新时该字段会被忽略
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.ServerTime(System.DateTimeKind)">
- <summary>
- 标记属性为数据库服务器时间(utc/local),在插入的时候使用类似 getdate() 执行
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.StringLength(System.Int32)">
- <summary>
- 设置长度,针对 string 类型避免 DbType 的繁琐设置<para></para>
- ---<para></para>
- StringLength = 100 时,对应 DbType:<para></para>
- MySql -> varchar(100)<para></para>
- SqlServer -> nvarchar(100)<para></para>
- PostgreSQL -> varchar(100)<para></para>
- Oracle -> nvarchar2(100)<para></para>
- Sqlite -> nvarchar(100)<para></para>
- ---<para></para>
- StringLength = -1 时,对应 DbType:<para></para>
- MySql -> text<para></para>
- SqlServer -> nvarchar(max)<para></para>
- PostgreSQL -> text<para></para>
- Oracle -> nvarchar2(4000)<para></para>
- Sqlite -> text<para></para>
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.InsertValueSql(System.String)">
- <summary>
- 执行 Insert 方法时使用此值<para></para>
- 注意:如果是 getdate() 这种请可考虑使用 ServerTime,因为它对数据库间作了适配
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.Precision(System.Int32,System.Int32)">
- <summary>
- decimal/numeric 类型的长度/小数位长度
- </summary>
- <param name="precision">总长度</param>
- <param name="scale">小数位长度</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.RewriteSql(System.String)">
- <summary>
- 重写功能<para></para>
- 比如:[Column(RewriteSql = "geography::STGeomFromText({0},4236)")]<para></para>
- 插入:INSERT INTO [table]([geo]) VALUES(geography::STGeomFromText('...',4236))<para></para>
- 提示:更新也生效
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.ColumnFluent.RereadSql(System.String)">
- <summary>
- 重读功能<para></para>
- 比如:[Column(RereadSql = "{0}.STAsText()")]<para></para>
- 或者:[Column(RereadSql = "{geo}.STAsText()")]<para></para>
- 查询:SELECT a.[id], a.[geo].STAsText() FROM [table] a
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="T:FreeSql.DataAnnotations.ExpressionCallAttribute">
- <summary>
- 自定义表达式函数解析<para></para>
- 注意:请使用静态方法、或者在类上标记
- </summary>
- </member>
- <member name="T:FreeSql.DataAnnotations.RawValueAttribute">
- <summary>
- 自定义表达式函数解析的时候,指定参数不解析 SQL,而是直接传进来
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.DataType">
- <summary>
- 数据库类型,可用于适配多种数据库环境
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.ParsedContent">
- <summary>
- 已解析的表达式中参数内容
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.RawExpression">
- <summary>
- 表达式原始值
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.DbParameter">
- <summary>
- 主对象的参数化对象,可重塑其属性
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.UserParameters">
- <summary>
- 可附加参数化对象<para></para>
- 注意:本属性只有 Where 的表达式解析才可用
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.FormatSql">
- <summary>
- 将 c# 对象转换为 SQL
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.Result">
- <summary>
- 返回表达式函数表示的 SQL 字符串
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.ExpressionCallContext.IUtility.GetTableByEntity(System.Type)">
- <summary>
- 获取实体元数据
- </summary>
- <param name="entityType"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.ExpressionCallContext.IUtility.ParseExpression(System.Linq.Expressions.Expression)">
- <summary>
- 解析表达式
- </summary>
- <param name="exp"></param>
- <returns></returns>
- </member>
- <member name="P:FreeSql.DataAnnotations.ExpressionCallContext.IUtility.CommonUtils">
- <summary>
- (非公开)内部公共工具类方法
- </summary>
- </member>
- <member name="T:FreeSql.DataAnnotations.IndexAttribute">
- <summary>
- 索引设置,如:[Index("{tablename}_idx_01", "name")]
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.IndexAttribute.#ctor(System.String,System.String)">
- <summary>
- 索引设置,如:[Index("{tablename}_idx_01", "name")]
- </summary>
- <param name="name">索引名<para></para>v1.7.0 增加占位符 {TableName} 表名区分索引名 (解决 AsTable 分表 CodeFirst 导致索引名重复的问题)</param>
- <param name="fields">索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC</param>
- </member>
- <member name="M:FreeSql.DataAnnotations.IndexAttribute.#ctor(System.String,System.String,System.Boolean)">
- <summary>
- 索引设置,如:[Index("{tablename}_idx_01", "name", true)]
- </summary>
- <param name="name">索引名<para></para>v1.7.0 增加占位符 {TableName} 表名区分索引名 (解决 AsTable 分表 CodeFirst 导致索引名重复的问题)</param>
- <param name="fields">索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC</param>
- <param name="isUnique">是否唯一</param>
- </member>
- <member name="P:FreeSql.DataAnnotations.IndexAttribute.Name">
- <summary>
- 索引名<para></para>
- v1.7.0 增加占位符 {TableName} 表名区分索引名 (解决 AsTable 分表 CodeFirst 导致索引名重复的问题)
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.IndexAttribute.Fields">
- <summary>
- 索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.IndexAttribute.IsUnique">
- <summary>
- 是否唯一
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.IndexAttribute.IndexMethod">
- <summary>
- 索引类型<para></para>
- 暂时只有 FreeSql.Provider.PostgreSQL 有效
- </summary>
- </member>
- <member name="T:FreeSql.DataAnnotations.IndexMethod">
- <summary>
- 暂时只有 FreeSql.Provider.PostgreSQL 有效
- </summary>
- </member>
- <member name="T:FreeSql.DataAnnotations.NavigateAttribute">
- <summary>
- OneToOne:[Navigate(nameof(Primary))] <-> (缺省)外表.Primary<para></para>
- ManyToOne:Topic.cs 文件 [Navigate(nameof(Topic.CategoryId))] <-> (缺省)Category.Id<para></para>
- _________________public Category Category { get; set; }<para></para>
- OneToMany:Category.cs 文件 (缺省)Category.Id <-> [Navigate(nameof(Topic.CategoryId))]<para></para>
- _________________public List<Topic> Topics { get; set; }<para></para>
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.NavigateAttribute.Bind">
- <summary>
- OneToOne:[Navigate(nameof(Primary))] <-> (缺省)外表.Primary<para></para>
- ManyToOne:Topic.cs 文件 [Navigate(nameof(Topic.CategoryId))] <-> (缺省)Category.Id<para></para>
- _________________public Category Category { get; set; }<para></para>
- OneToMany:Category.cs 文件 (缺省)Category.Id <-> [Navigate(nameof(Topic.CategoryId))]<para></para>
- _________________public List<Topic> Topics { get; set; }<para></para>
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.NavigateAttribute.TempPrimary">
- <summary>
- 与非主键进行关联,仅支持 OneToMany、ManyToOne<para></para>
- 使用方法参考 Bind 属性
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.NavigateAttribute.ManyToMany">
- <summary>
- 手工绑定 ManyToMany 导航关系
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.NavigateAttribute.#ctor(System.String)">
- <summary>
- OneToOne:[Navigate(nameof(Primary))] <-> (缺省)外表.Primary<para></para>
- ManyToOne:Topic.cs 文件 [Navigate(nameof(Topic.CategoryId))] <-> (缺省)Category.Id<para></para>
- _________________public Category Category { get; set; }<para></para>
- OneToMany:Category.cs 文件 (缺省)Category.Id <-> [Navigate(nameof(Topic.CategoryId))]<para></para>
- _________________public List<Topic> Topics { get; set; }<para></para>
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.OraclePrimaryKeyNameAttribute.Name">
- <summary>
- 主键名
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.TableAttribute.Name">
- <summary>
- 数据库表名
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.TableAttribute.OldName">
- <summary>
- 指定数据库旧的表名,修改实体命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库表;否则将视为【创建新表】
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.TableAttribute.DisableSyncStructure">
- <summary>
- 禁用 CodeFirst 同步结构迁移
- </summary>
- </member>
- <member name="P:FreeSql.DataAnnotations.TableAttribute.AsTable">
- <summary>
- 格式:属性名=开始时间(递增)<para></para>
- 按年分表:[Table(Name = "log_{yyyy}", AsTable = "create_time=2022-1-1(1 year)")]<para></para>
- 按月分表:[Table(Name = "log_{yyyyMM}", AsTable = "create_time=2022-5-1(1 month)")]<para></para>
- 按日分表:[Table(Name = "log_{yyyyMMdd}", AsTable = "create_time=2022-5-1(5 day)")]<para></para>
- 按时分表:[Table(Name = "log_{yyyyMMddHH}", AsTable = "create_time=2022-5-1(6 hour)")]<para></para>
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.DateTimeAsTableImpl.GetTableNamesBySqlWhere(System.String,System.Collections.Generic.List{System.Data.Common.DbParameter},FreeSql.Internal.Model.SelectTableInfo,FreeSql.Internal.CommonUtils)">
- <summary>
- 可以匹配以下条件(支持参数化):<para></para>
- `field` BETWEEN '2022-01-01 00:00:00' AND '2022-03-01 00:00:00'<para></para>
- `field` > '2022-01-01 00:00:00' AND `field` < '2022-03-01 00:00:00'<para></para>
- `field` > '2022-01-01 00:00:00' AND `field` <= '2022-03-01 00:00:00'<para></para>
- `field` >= '2022-01-01 00:00:00' AND `field` < '2022-03-01 00:00:00'<para></para>
- `field` >= '2022-01-01 00:00:00' AND `field` <= '2022-03-01 00:00:00'<para></para>
- `field` > '2022-01-01 00:00:00'<para></para>
- `field` >= '2022-01-01 00:00:00'<para></para>
- `field` < '2022-01-01 00:00:00'<para></para>
- `field` <= '2022-01-01 00:00:00'<para></para>
- </summary>
- <returns></returns>
- <exception cref="T:System.Exception"></exception>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent.Name(System.String)">
- <summary>
- 数据库表名
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent.OldName(System.String)">
- <summary>
- 指定数据库旧的表名,修改实体命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库表;否则将视为【创建新表】
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent.DisableSyncStructure(System.Boolean)">
- <summary>
- 禁用 CodeFirst 同步结构迁移
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent.AsTable(System.String)">
- <summary>
- 格式:属性名=开始时间(递增)<para></para>
- 按年分表:[Table(Name = "log_{yyyy}", AsTable = "create_time=2022-1-1(1 year)")]<para></para>
- 按月分表:[Table(Name = "log_{yyyyMM}", AsTable = "create_time=2022-5-1(1 month)")]<para></para>
- 按日分表:[Table(Name = "log_{yyyyMMdd}", AsTable = "create_time=2022-5-1(5 day)")]<para></para>
- 按时分表:[Table(Name = "log_{yyyyMMddHH}", AsTable = "create_time=2022-5-1(6 hour)")]<para></para>
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent.Navigate(System.String,System.String,System.Type)">
- <summary>
- 导航关系Fluent,与 NavigateAttribute 对应
- </summary>
- <param name="proto"></param>
- <param name="bind"></param>
- <param name="manyToMany">多对多关系的中间实体类型</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent.Index(System.String,System.String,System.Boolean)">
- <summary>
- 设置实体的索引
- </summary>
- <param name="name">索引名</param>
- <param name="fields">索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC</param>
- <param name="isUnique">是否唯一</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent`1.Name(System.String)">
- <summary>
- 数据库表名
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent`1.OldName(System.String)">
- <summary>
- 指定数据库旧的表名,修改实体命名时,同时设置此参数为修改之前的值,CodeFirst才可以正确修改数据库表;否则将视为【创建新表】
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent`1.DisableSyncStructure(System.Boolean)">
- <summary>
- 禁用 CodeFirst 同步结构迁移
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent`1.AsTable(System.String)">
- <summary>
- 格式:属性名=开始时间(递增)<para></para>
- 按年分表:[Table(Name = "log_{yyyy}", AsTable = "create_time=2022-1-1(1 year)")]<para></para>
- 按月分表:[Table(Name = "log_{yyyyMM}", AsTable = "create_time=2022-5-1(1 month)")]<para></para>
- 按日分表:[Table(Name = "log_{yyyyMMdd}", AsTable = "create_time=2022-5-1(5 day)")]<para></para>
- 按时分表:[Table(Name = "log_{yyyyMMddHH}", AsTable = "create_time=2022-5-1(6 hour)")]<para></para>
- </summary>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent`1.Navigate``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.String,System.Type)">
- <summary>
- 导航关系Fluent,与 NavigateAttribute 对应
- </summary>
- <typeparam name="TProto"></typeparam>
- <param name="proto"></param>
- <param name="bind"></param>
- <param name="manyToMany">多对多关系的中间实体类型</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.DataAnnotations.TableFluent`1.Index(System.String,System.String,System.Boolean)">
- <summary>
- 设置实体的索引
- </summary>
- <param name="name">索引名</param>
- <param name="fields">索引字段,为属性名以逗号分隔,如:Create_time ASC, Title ASC</param>
- <param name="isUnique">是否唯一</param>
- <returns></returns>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Table">
- <summary>
- 所属表
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Name">
- <summary>
- 列名
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.CsType">
- <summary>
- 映射到 C# 类型
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.DbType">
- <summary>
- 数据库枚举类型int值
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.DbTypeText">
- <summary>
- 数据库类型,字符串,varchar
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.DbTypeTextFull">
- <summary>
- 数据库类型,字符串,varchar(255)
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.MaxLength">
- <summary>
- 最大长度
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.IsPrimary">
- <summary>
- 主键
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.IsIdentity">
- <summary>
- 自增标识
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.IsNullable">
- <summary>
- 是否可DBNull
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Coment">
- <summary>
- 备注,早期编码时少按了一个字母,请使用 Comment
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Comment">
- <summary>
- 备注
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.DefaultValue">
- <summary>
- 数据库默认值
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbColumnInfo.Position">
- <summary>
- 字段位置
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbEnumInfo.Name">
- <summary>
- 枚举类型标识
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbEnumInfo.Labels">
- <summary>
- 枚举项
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.Id">
- <summary>
- 唯一标识
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.Schema">
- <summary>
- SqlServer下是Owner、PostgreSQL下是Schema、MySql下是数据库名
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.Name">
- <summary>
- 表名
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.Comment">
- <summary>
- 表备注,SqlServer下是扩展属性 MS_Description
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.Type">
- <summary>
- 表/视图
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.Columns">
- <summary>
- 列
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.Identitys">
- <summary>
- 自增列
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.Primarys">
- <summary>
- 主键/组合
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.UniquesDict">
- <summary>
- 唯一键/组合
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.IndexesDict">
- <summary>
- 索引/组合
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTableInfo.ForeignsDict">
- <summary>
- 外键
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTypeInfo.Name">
- <summary>
- 类型标识
- </summary>
- </member>
- <member name="P:FreeSql.DatabaseModel.DbTypeInfo.Labels">
- <summary>
- 枚举项
- </summary>
- </member>
- <member name="F:FreeSql.DataType.Odbc">
- <summary>
- 通用的 Odbc 实现,只能做基本的 Crud 操作 <para></para>
- 不支持实体结构迁移、不支持分页(只能 Take 查询) <para></para>
-
- 通用实现为了让用户自己适配更多的数据库,比如连接 mssql 2000、db2 等数据库<para></para>
- 默认适配 SqlServer,可以继承后重新适配 FreeSql.Odbc.Default.OdbcAdapter,最好去看下代码 <para></para>
-
- 适配新的 OdbcAdapter,请在 FreeSqlBuilder.Build 之后调用 IFreeSql.SetOdbcAdapter 方法设置
- </summary>
- </member>
- <member name="F:FreeSql.DataType.OdbcDameng">
- <summary>
- 武汉达梦数据库有限公司,基于 Odbc 的实现
- </summary>
- </member>
- <member name="F:FreeSql.DataType.MsAccess">
- <summary>
- Microsoft Office Access 是由微软发布的关联式数据库管理系统
- </summary>
- </member>
- <member name="F:FreeSql.DataType.Dameng">
- <summary>
- 武汉达梦数据库有限公司,基于 DmProvider.dll 的实现
- </summary>
- </member>
- <member name="F:FreeSql.DataType.OdbcKingbaseES">
- <summary>
- 北京人大金仓信息技术股份有限公司,基于 Odbc 的实现
- </summary>
- </member>
- <member name="F:FreeSql.DataType.ShenTong">
- <summary>
- 天津神舟通用数据技术有限公司,基于 System.Data.OscarClient.dll 的实现
- </summary>
- </member>
- <member name="F:FreeSql.DataType.KingbaseES">
- <summary>
- 北京人大金仓信息技术股份有限公司,基于 Kdbndp.dll 的实现
- </summary>
- </member>
- <member name="F:FreeSql.DataType.Firebird">
- <summary>
- Firebird 是一个跨平台的关系数据库,能作为多用户环境下的数据库服务器运行,也提供嵌入式数据库的实现
- </summary>
- </member>
- <member name="F:FreeSql.DataType.Custom">
- <summary>
- 自定义适配器,访问任何数据库<para></para>
- 注意:该类型不提供 DbFirst/CodeFirst 功能
- </summary>
- </member>
- <member name="F:FreeSql.DataType.GBase">
- <summary>
- 天津南大通用数据技术股份有限公司成立于2004年,是国产数据库、大数据领域的知名企业,基于 Odbc 的实现
- </summary>
- </member>
- <member name="F:FreeSql.DataType.Xugu">
- <summary>
- 虚谷
- </summary>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.GetIFreeSql(System.Data.IDbConnection)">
- <summary>
- 获取 IDbConnection 对应的 IFreeSql 实例
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection)">
- <summary>
- 插入数据
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection,``0)">
- <summary>
- 插入数据,传入实体
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection,``0[])">
- <summary>
- 插入数据,传入实体数组
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection,System.Collections.Generic.List{``0})">
- <summary>
- 插入数据,传入实体集合
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbConnection,System.Collections.Generic.IEnumerable{``0})">
- <summary>
- 插入数据,传入实体集合
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.InsertOrUpdate``1(System.Data.IDbConnection)">
- <summary>
- 插入或更新数据,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
- MySql 5.6+: on duplicate key update<para></para>
- PostgreSQL 9.4+: on conflict do update<para></para>
- SqlServer 2008+: merge into<para></para>
- Oracle 11+: merge into<para></para>
- Sqlite: replace into<para></para>
- Firebird: merge into<para></para>
- 达梦: merge into<para></para>
- 人大金仓:on conflict do update<para></para>
- 神通:merge into<para></para>
- MsAccess:不支持<para></para>
- 注意区别:FreeSql.Repository 仓储也有 InsertOrUpdate 方法(不依赖数据库特性)
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Update``1(System.Data.IDbConnection)">
- <summary>
- 修改数据
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Update``1(System.Data.IDbConnection,System.Object)">
- <summary>
- 修改数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``1(System.Data.IDbConnection)">
- <summary>
- 查询数据
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``1(System.Data.IDbConnection,System.Object)">
- <summary>
- 查询数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Delete``1(System.Data.IDbConnection)">
- <summary>
- 删除数据
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Delete``1(System.Data.IDbConnection,System.Object)">
- <summary>
- 删除数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``2(System.Data.IDbConnection)">
- <summary>
- 多表查询
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``3(System.Data.IDbConnection)">
- <summary>
- 多表查询
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``4(System.Data.IDbConnection)">
- <summary>
- 多表查询
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``5(System.Data.IDbConnection)">
- <summary>
- 多表查询
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``6(System.Data.IDbConnection)">
- <summary>
- 多表查询
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``7(System.Data.IDbConnection)">
- <summary>
- 多表查询
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``8(System.Data.IDbConnection)">
- <summary>
- 多表查询
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``9(System.Data.IDbConnection)">
- <summary>
- 多表查询
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``10(System.Data.IDbConnection)">
- <summary>
- 多表查询
- </summary>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction)">
- <summary>
- 插入数据
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction,``0)">
- <summary>
- 插入数据,传入实体
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction,``0[])">
- <summary>
- 插入数据,传入实体数组
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction,System.Collections.Generic.List{``0})">
- <summary>
- 插入数据,传入实体集合
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Insert``1(System.Data.IDbTransaction,System.Collections.Generic.IEnumerable{``0})">
- <summary>
- 插入数据,传入实体集合
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.InsertOrUpdate``1(System.Data.IDbTransaction)">
- <summary>
- 插入或更新数据,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
- MySql 5.6+: on duplicate key update<para></para>
- PostgreSQL 9.4+: on conflict do update<para></para>
- SqlServer 2008+: merge into<para></para>
- Oracle 11+: merge into<para></para>
- Sqlite: replace into<para></para>
- 达梦: merge into<para></para>
- 人大金仓:on conflict do update<para></para>
- 神通:merge into<para></para>
- MsAccess:不支持<para></para>
- 注意区别:FreeSql.Repository 仓储也有 InsertOrUpdate 方法(不依赖数据库特性)
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Update``1(System.Data.IDbTransaction)">
- <summary>
- 修改数据
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Update``1(System.Data.IDbTransaction,System.Object)">
- <summary>
- 修改数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``1(System.Data.IDbTransaction)">
- <summary>
- 查询数据
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``1(System.Data.IDbTransaction,System.Object)">
- <summary>
- 查询数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Delete``1(System.Data.IDbTransaction)">
- <summary>
- 删除数据
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Delete``1(System.Data.IDbTransaction,System.Object)">
- <summary>
- 删除数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``2(System.Data.IDbTransaction)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``3(System.Data.IDbTransaction)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``4(System.Data.IDbTransaction)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``5(System.Data.IDbTransaction)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``6(System.Data.IDbTransaction)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``7(System.Data.IDbTransaction)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``8(System.Data.IDbTransaction)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``9(System.Data.IDbTransaction)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.AdoNetExtensions.Select``10(System.Data.IDbTransaction)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityKeyString(IFreeSql,System.Type,System.Object,System.Boolean,System.String)">
- <summary>
- 获取实体的主键值,以 "*|_,[,_|*" 分割,当任意一个主键属性无值时,返回 ""
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- <param name="genGuid">当Guid无值时,会生成有序的新值</param>
- <param name="splitString"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityKeyValues(IFreeSql,System.Type,System.Object)">
- <summary>
- 获取实体的主键值,多个主键返回数组
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityValueWithPropertyName(IFreeSql,System.Type,System.Object,System.String)">
- <summary>
- 获取实体的属性值
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- <param name="propertyName"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityString(IFreeSql,System.Type,System.Object)">
- <summary>
- 获取实体的所有数据,以 (1, 2, xxx) 的形式
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- <returns></returns>
- </member>
- <member name="F:FreeSql.Extensions.EntityUtil.EntityUtilExtensions._dicMapEntityValue">
- <summary>
- 使用新实体的值,复盖旧实体的值
- </summary>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.MapEntityKeyValue(IFreeSql,System.Type,System.Object,System.Object)">
- <summary>
- 使用新实体的主键值,复盖旧实体的主键值
- </summary>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.SetEntityIdentityValueWithPrimary(IFreeSql,System.Type,System.Object,System.Int64)">
- <summary>
- 设置实体中主键内的自增字段值(若存在)
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- <param name="idtval"></param>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.GetEntityIdentityValueWithPrimary(IFreeSql,System.Type,System.Object)">
- <summary>
- 获取实体中主键内的自增字段值(若存在)
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.ClearEntityPrimaryValueWithIdentityAndGuid(IFreeSql,System.Type,System.Object)">
- <summary>
- 清除实体的主键值,将自增、Guid类型的主键值清除
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.ClearEntityPrimaryValueWithIdentity(IFreeSql,System.Type,System.Object)">
- <summary>
- 清除实体的主键值,将自增、Guid类型的主键值清除
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.CompareEntityValueReturnColumns(IFreeSql,System.Type,System.Object,System.Object,System.Boolean)">
- <summary>
- 对比两个实体值,返回相同/或不相同的列名
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity1"></param>
- <param name="entity2"></param>
- <param name="isEqual"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.SetEntityIncrByWithPropertyName(IFreeSql,System.Type,System.Object,System.String,System.Int32)">
- <summary>
- 设置实体中某属性的数值增加指定的值
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- <param name="propertyName"></param>
- <param name="incrBy"></param>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.SetEntityValueWithPropertyName(IFreeSql,System.Type,System.Object,System.String,System.Object)">
- <summary>
- 设置实体中某属性的值
- </summary>
- <param name="orm"></param>
- <param name="entityType"></param>
- <param name="entity"></param>
- <param name="propertyName"></param>
- <param name="value"></param>
- </member>
- <member name="M:FreeSql.Extensions.EntityUtil.EntityUtilExtensions.AppendEntityUpdateSetWithColumn``1(FreeSql.IUpdate{``0},System.Type,System.Linq.Expressions.LambdaExpression)">
- <summary>
- 缓存执行 IUpdate.Set
- </summary>
- <typeparam name="TEntity"></typeparam>
- <param name="update"></param>
- <param name="columnType"></param>
- <param name="setExp"></param>
- </member>
- <member name="T:FreeSql.SqlExt">
- <summary>
- SqlExt 是利用自定表达式函数解析功能,解析默认常用的SQL函数,欢迎 PR
- </summary>
- </member>
- <member name="M:FreeSql.SqlExt.Rank">
- <summary>
- rank() over(order by ...)
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.DenseRank">
- <summary>
- dense_rank() over(order by ...)
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.Count(System.Object)">
- <summary>
- count() over(order by ...)
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.Sum(System.Object)">
- <summary>
- sum(..) over(order by ...)
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.Avg(System.Object)">
- <summary>
- avg(..) over(order by ...)
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.Max``1(``0)">
- <summary>
- max(..) over(order by ...)
- </summary>
- <typeparam name="T"></typeparam>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.Min``1(``0)">
- <summary>
- min(..) over(order by ...)
- </summary>
- <typeparam name="T"></typeparam>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.RowNumber">
- <summary>
- SqlServer row_number() over(order by ...)
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.IsNull``1(``0,``0)">
- <summary>
- isnull、ifnull、coalesce、nvl
- </summary>
- <typeparam name="TValue"></typeparam>
- <param name="value"></param>
- <param name="defaultValue"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.DistinctCount``1(``0)">
- <summary>
- count(distinct name)
- </summary>
- <typeparam name="T"></typeparam>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.InternalRawSql(System.String)">
- <summary>
- 注意:使用者自己承担【注入风险】
- </summary>
- <param name="sql"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.GreaterThan``1(``0,``0)">
- <summary>
- 大于 >
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.GreaterThanOrEqual``1(``0,``0)">
- <summary>
- 大于或等于 >=
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.LessThan``1(``0,``0)">
- <summary>
- 小于 <
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.LessThanOrEqual``1(``0,``0)">
- <summary>
- 小于或等于 <=
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.EqualIsNull``1(``0)">
- <summary>
- value1 IS NULL
- </summary>
- <typeparam name="TValue"></typeparam>
- <param name="value1"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.Case">
- <summary>
- case when .. then .. end
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.CaseDict``2(``0,System.Collections.Generic.Dictionary{``0,``1})">
- <summary>
- case when .. then .. end
- </summary>
- <typeparam name="TInput"></typeparam>
- <typeparam name="TOutput"></typeparam>
- <param name="input"></param>
- <param name="dict"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.GroupConcat(System.Object)">
- <summary>
- MySql group_concat(distinct .. order by .. separator ..)
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.FindInSet``1(``0,System.String)">
- <summary>
- MySql find_in_set(str, strlist)
- </summary>
- <typeparam name="TValue"></typeparam>
- <param name="str"></param>
- <param name="strlist"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.SqlExt.StringAgg(System.Object,System.Object)">
- <summary>
- PostgreSQL string_agg(.., ..)
- </summary>
- <param name="column"></param>
- <param name="delimiter"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseConnectionString(FreeSql.DataType,System.String,System.Type)">
- <summary>
- 使用连接串(推荐)
- </summary>
- <param name="dataType">数据库类型</param>
- <param name="connectionString">数据库连接串</param>
- <param name="providerType">提供者的类型,一般不需要指定,如果一直提示“缺少 FreeSql 数据库实现包:FreeSql.Provider.MySql.dll,可前往 nuget 下载”的错误,说明反射获取不到类型,此时该参数可排上用场<para></para>例如:typeof(FreeSql.SqlServer.SqlServerProvider<>)</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseCustomTableEntityCacheFactory(System.Func{System.Collections.Concurrent.ConcurrentDictionary{FreeSql.DataType,System.Collections.Concurrent.ConcurrentDictionary{System.Type,FreeSql.Internal.Model.TableInfo}}})">
- <summary>
- 用于指定自定义实现TableEntiy 的缓存集合
- 解决多实例下相同类型映射到不同表的问题
- </summary>
- <param name="factory"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseAdoConnectionPool(System.Boolean)">
- <summary>
- 使用原始连接池(ado.net、odbc、oledb)<para></para>
- 默认:false<para></para>
- UseConnectionString 默认使用 FreeSql 连接池,有以下特点:<para></para>
- - 状态不可用,断熔机制直到后台检测恢复<para></para>
- - 读写分离,从库不可用,会切换其他可用从库<para></para>
- - 监测连接池使用情况,fsql.Ado.Statistics<para></para>
- 有部分使用者不喜欢【断熔机制】,可使用此设置
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseSlave(System.String[])">
- <summary>
- 使用从数据库,支持多个
- </summary>
- <param name="slaveConnectionString">从数据库连接串</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseConnectionFactory(FreeSql.DataType,System.Func{System.Data.Common.DbConnection},System.Type)">
- <summary>
- 使用自定义数据库连接对象(放弃内置对象连接池技术)
- </summary>
- <param name="dataType">数据库类型</param>
- <param name="connectionFactory">数据库连接对象创建器</param>
- <param name="providerType">提供者的类型,一般不需要指定,如果一直提示“缺少 FreeSql 数据库实现包:FreeSql.Provider.MySql.dll,可前往 nuget 下载”的错误,说明反射获取不到类型,此时该参数可排上用场<para></para>例如:typeof(FreeSql.SqlServer.SqlServerProvider<>)</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseAutoSyncStructure(System.Boolean)">
- <summary>
- 【开发环境必备】自动同步实体结构到数据库,程序运行中检查实体表是否存在,然后创建或修改<para></para>
- 注意:生产环境中谨慎使用
- </summary>
- <param name="value">true:运行时检查自动同步结构, false:不同步结构(默认)</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseConfigEntityFromDbFirst(System.Boolean)">
- <summary>
- 将数据库的主键、自增、索引设置导入,适用 DbFirst 模式,无须在实体类型上设置 [Column(IsPrimary)] 或者 ConfigEntity。此功能目前可用于 mysql/sqlserver/postgresql/oracle。<para></para>
- 本功能会影响 IFreeSql 首次访问的速度。<para></para>
- 若使用 CodeFirst 创建索引后,又直接在数据库上建了索引,若无本功能下一次 CodeFirst 迁移时数据库上创建的索引将被删除
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseNoneCommandParameter(System.Boolean)">
- <summary>
- 不使用命令参数化执行,针对 Insert/Update,也可临时使用 IInsert/IUpdate.NoneParameter()
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseGenerateCommandParameterWithLambda(System.Boolean)">
- <summary>
- 是否生成命令参数化执行,针对 lambda 表达式解析<para></para>
- 注意:常量不会参数化,变量才会做参数化<para></para>
- var id = 100;
- fsql.Select<T>().Where(a => a.id == id) 会参数化<para></para>
- fsql.Select<T>().Where(a => a.id == 100) 不会参数化
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseLazyLoading(System.Boolean)">
- <summary>
- 延时加载导航属性对象,导航属性需要声明 virtual
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseMonitorCommand(System.Action{System.Data.Common.DbCommand},System.Action{System.Data.Common.DbCommand,System.String})">
- <summary>
- 监视数据库命令对象
- </summary>
- <param name="executing">执行前</param>
- <param name="executed">执行后,可监视执行性能</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseNameConvert(FreeSql.Internal.NameConvertType)">
- <summary>
- 实体类名 -> 数据库表名,命名转换(类名、属性名都生效)<para></para>
- 优先级小于 [Column(Name = "xxx")]
- </summary>
- <param name="convertType"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseQuoteSqlName(System.Boolean)">
- <summary>
- SQL名称是否使用 [] `` ""<para></para>
- true: SELECT .. FROM [table]<para></para>
- false: SELECT .. FROM table
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseMappingPriority(FreeSql.Internal.MappingPriorityType,FreeSql.Internal.MappingPriorityType,FreeSql.Internal.MappingPriorityType)">
- <summary>
- 指定映射优先级(从小到大)<para></para>
- 例如表名:实体类名 < Aop < FluentApi < Attribute < AsTable<para></para>
- 事件 Aop -------> fsql.Aop.ConfigEntity/fsql.Aop.ConfigEntityProperty<para></para>
- 方法 FluentApi -> fsql.CodeFirst.ConfigEntity/fsql.CodeFirst.Entity<para></para>
- 特性 Attribute -> [Table(Name = xxx, ...)]<para></para>
- -----------------------------------------------------------------------------<para></para>
- 默认规则:关于映射优先级,Attribute 可以更直观排查问题,即使任何地方使用 FluentApi/Aop 设置 TableName 都不生效。<para></para>
- 调整规则:UseMappingPriority(Attribute, FluentApi, Aop) <para></para>
- 实体类名 < Attribute < FluentApi < Aop < AsTable
- </summary>
- <param name="mappingType1"></param>
- <param name="mappingType2"></param>
- <param name="mappingType3"></param>
- <returns></returns>
- <exception cref="T:System.ArgumentException"></exception>
- </member>
- <member name="M:FreeSql.FreeSqlBuilder.UseExitAutoDisposePool(System.Boolean)">
- <summary>
- 监听 AppDomain.CurrentDomain.ProcessExit/Console.CancelKeyPress 事件自动释放连接池<para></para>
- 默认值: true
- </summary>
- <param name="value"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.WithTransaction(System.Data.Common.DbTransaction)">
- <summary>
- 指定事务对象
- </summary>
- <param name="transaction"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.WithConnection(System.Data.Common.DbConnection)">
- <summary>
- 指定事务对象
- </summary>
- <param name="connection"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.CommandTimeout(System.Int32)">
- <summary>
- 命令超时设置(秒)
- </summary>
- <param name="timeout"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.Where(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- lambda表达式条件,仅支持实体基础成员(不包含导航对象)<para></para>
- 若想使用导航对象,请使用 ISelect.ToDelete() 方法
- </summary>
- <param name="exp">lambda表达式条件</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- lambda表达式条件,仅支持实体基础成员(不包含导航对象)<para></para>
- 若想使用导航对象,请使用 ISelect.ToUpdate() 方法
- </summary>
- <param name="condition">true 时生效</param>
- <param name="exp">lambda表达式条件</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.Where(System.String,System.Object)">
- <summary>
- 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.WhereIf(System.Boolean,System.String,System.Object)">
- <summary>
- 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="condition">true 时生效</param>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.Where(`0)">
- <summary>
- 传入实体,将主键作为条件
- </summary>
- <param name="item">实体</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.Where(System.Collections.Generic.IEnumerable{`0})">
- <summary>
- 传入实体集合,将主键作为条件
- </summary>
- <param name="items">实体集合</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.WhereDynamic(System.Object,System.Boolean)">
- <summary>
- 传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <param name="not">是否标识为NOT</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.WhereDynamicFilter(FreeSql.Internal.Model.DynamicFilterInfo)">
- <summary>
- 动态过滤条件
- </summary>
- <param name="filter"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.DisableGlobalFilter(System.String[])">
- <summary>
- 禁用全局过滤功能,不传参数时将禁用所有
- </summary>
- <param name="name">零个或多个过滤器名字</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.AsTable(System.Func{System.String,System.String})">
- <summary>
- 设置表名规则,可用于分库/分表,参数1:默认表名;返回值:新表名;
- </summary>
- <param name="tableRule"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.AsTable(System.String)">
- <summary>
- 设置表名
- </summary>
- <param name="tableName"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.AsType(System.Type)">
- <summary>
- 动态Type,在使用 Delete<object> 后使用本方法,指定实体类型
- </summary>
- <param name="entityType"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.ToSql">
- <summary>
- 返回即将执行的SQL语句
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.ExecuteAffrows">
- <summary>
- 执行SQL语句,返回影响的行数
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDelete`1.ExecuteDeleted">
- <summary>
- 执行SQL语句,返回被删除的记录<para></para>
- 注意:此方法只有 Postgresql/SqlServer 有效果
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.WithTransaction(System.Data.Common.DbTransaction)">
- <summary>
- 指定事务对象
- </summary>
- <param name="transaction"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.WithConnection(System.Data.Common.DbConnection)">
- <summary>
- 指定事务对象
- </summary>
- <param name="connection"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.CommandTimeout(System.Int32)">
- <summary>
- 命令超时设置(秒)
- </summary>
- <param name="timeout"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.AppendData(`0)">
- <summary>
- 追加准备插入的实体
- </summary>
- <param name="source">实体</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.AppendData(`0[])">
- <summary>
- 追加准备插入的实体
- </summary>
- <param name="source">实体</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.AppendData(System.Collections.Generic.IEnumerable{`0})">
- <summary>
- 追加准备插入的实体集合
- </summary>
- <param name="source">实体集合</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.InsertColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
- <summary>
- 只插入的列,InsertColumns(a => a.Name) | InsertColumns(a => new{a.Name,a.Time}) | InsertColumns(a => new[]{"name","time"})
- </summary>
- <param name="columns">lambda选择列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.InsertColumns(System.String[])">
- <summary>
- 只插入的列
- </summary>
- <param name="columns">属性名,或者字段名</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.IgnoreColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
- <summary>
- 忽略的列,IgnoreColumns(a => a.Name) | IgnoreColumns(a => new{a.Name,a.Time}) | IgnoreColumns(a => new[]{"name","time"})
- </summary>
- <param name="columns">lambda选择列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.IgnoreColumns(System.String[])">
- <summary>
- 忽略的列
- </summary>
- <param name="columns">属性名,或者字段名</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.IgnoreInsertValueSql(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
- <summary>
- 忽略 InsertValueSql 设置,将使用实体对象的值插入<para></para>
- IgnoreInsertValueSql(a => a.Name) | IgnoreInsertValueSql(a => new{a.Name,a.Time}) | IgnoreInsertValueSql(a => new[]{"name","time"})
- </summary>
- <param name="columns">属性名,或者字段名</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.InsertIdentity">
- <summary>
- 指定可插入自增字段
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.NoneParameter(System.Boolean)">
- <summary>
- 不使用参数化,可通过 IFreeSql.CodeFirst.IsNotCommandParameter 全局性设置
- </summary>
- <param name="isNotCommandParameter">是否不使用参数化</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.BatchOptions(System.Int32,System.Int32,System.Boolean)">
- <summary>
- 批量执行选项设置,一般不需要使用该方法<para></para>
- 各数据库 values, parameters 限制不一样,默认设置:<para></para>
- MySql 5000 3000<para></para>
- PostgreSQL 5000 3000<para></para>
- SqlServer 1000 2100<para></para>
- Oracle 500 999<para></para>
- Sqlite 5000 999<para></para>
- 若没有事务传入,内部(默认)会自动开启新事务,保证拆包执行的完整性。
- </summary>
- <param name="valuesLimit">指定根据 values 上限数量拆分执行</param>
- <param name="parameterLimit">指定根据 parameters 上限数量拆分执行</param>
- <param name="autoTransaction">是否自动开启事务</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.BatchProgress(System.Action{FreeSql.Internal.Model.BatchProgressStatus{`0}})">
- <summary>
- 批量执行时,分批次执行的进度状态
- </summary>
- <param name="callback">批量执行时的回调委托</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.AsTable(System.Func{System.String,System.String})">
- <summary>
- 设置表名规则,可用于分库/分表,参数1:默认表名;返回值:新表名;
- </summary>
- <param name="tableRule"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.AsTable(System.String)">
- <summary>
- 设置表名
- </summary>
- <param name="tableName"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.AsType(System.Type)">
- <summary>
- 动态Type,在使用 Insert<object> 后使用本方法,指定实体类型
- </summary>
- <param name="entityType"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.ToSql">
- <summary>
- 返回即将执行的SQL语句
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.ExecuteAffrows">
- <summary>
- 执行SQL语句,返回影响的行数
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.ExecuteIdentity">
- <summary>
- 执行SQL语句,返回自增值<para></para>
- 注意:请检查实体类是否标记了 [Column(IsIdentity = true)]
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.ExecuteInserted">
- <summary>
- 执行SQL语句,返回插入后的记录<para></para>
- 注意:此方法只有 Postgresql/SqlServer 有效果
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsert`1.ToDataTable">
- <summary>
- 返回 DataTable 以便做 BulkCopy 数据做准备<para></para>
- 此方法会处理:<para></para>
- 类型、表名、字段名映射<para></para>
- IgnoreColumns、InsertColumns
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.WithTransaction(System.Data.Common.DbTransaction)">
- <summary>
- 指定事务对象
- </summary>
- <param name="transaction"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.WithConnection(System.Data.Common.DbConnection)">
- <summary>
- 指定事务对象
- </summary>
- <param name="connection"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.CommandTimeout(System.Int32)">
- <summary>
- 命令超时设置(秒)
- </summary>
- <param name="timeout"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.SetSource(`0)">
- <summary>
- 添加或更新,设置实体
- </summary>
- <param name="source">实体</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.SetSource(`0,System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
- <summary>
- 添加或更新,设置实体
- </summary>
- <param name="source">实体</param>
- <param name="tempPrimarys">
- 根据临时主键插入或更新,a => a.Name | a => new{a.Name,a.Time} | a => new[]{"name","time"}<para></para>
- 注意:不处理自增,因某些数据库依赖主键或唯一键,所以指定临时主键仅对 SqlServer/PostgreSQL/Firebird/达梦/南大通用/金仓/神通 有效
- </param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.SetSource(System.Collections.Generic.IEnumerable{`0},System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
- <summary>
- 添加或更新,设置实体集合
- </summary>
- <param name="source">实体集合</param>
- <param name="tempPrimarys">
- 根据临时主键插入或更新,a => a.Name | a => new{a.Name,a.Time} | a => new[]{"name","time"}<para></para>
- 注意:不处理自增,因某些数据库依赖主键或唯一键,所以指定临时主键仅对 SqlServer/PostgreSQL/Firebird/达梦/南大通用/金仓/神通 有效
- </param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.SetSource(System.String,System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
- <summary>
- 添加或更新,设置SQL
- </summary>
- <param name="sql">查询SQL</param>
- <param name="tempPrimarys">
- 根据临时主键插入或更新,a => a.Name | a => new{a.Name,a.Time} | a => new[]{"name","time"}<para></para>
- 注意:不处理自增,因某些数据库依赖主键或唯一键,所以指定临时主键仅对 SqlServer/PostgreSQL/Firebird/达梦/南大通用/金仓/神通 有效
- </param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.IfExistsDoNothing">
- <summary>
- 当记录存在时,什么都不做<para></para>
- 换句话:只有记录不存在时才插入
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.UpdateColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
- <summary>
- 当记录存在时,指定只更新的字段,UpdateColumns(a => a.Name) | UpdateColumns(a => new{a.Name,a.Time}) | UpdateColumns(a => new[]{"name","time"})
- </summary>
- <param name="columns">lambda选择列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.UpdateColumns(System.String[])">
- <summary>
- 当记录存在时,指定只更新的字段
- </summary>
- <param name="columns">属性名,或者字段名</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.UpdateSet``1(System.Linq.Expressions.Expression{System.Func{`0,`0,``0}})">
- <summary>
- 设置列的联表值,格式:<para></para>
- UpdateSet((a, b) => a.Clicks == b.xxx)<para></para>
- UpdateSet((a, b) => a.Clicks == a.Clicks + 1)
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="exp"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.BatchOptions(System.Int32,System.Boolean)">
- <summary>
- 批量执行选项设置,一般不需要使用该方法<para></para>
- 各数据库 rows 限制不一样,默认设置:200<para></para>
- 若没有事务传入,内部(默认)会自动开启新事务,保证拆包执行的完整性。
- </summary>
- <param name="rowsLimit">指定根据 rows 上限数量拆分执行</param>
- <param name="autoTransaction">是否自动开启事务</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.AsTable(System.Func{System.String,System.String})">
- <summary>
- 设置表名规则,可用于分库/分表,参数1:默认表名;返回值:新表名;
- </summary>
- <param name="tableRule"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.AsTable(System.String)">
- <summary>
- 设置表名
- </summary>
- <param name="tableName"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.AsType(System.Type)">
- <summary>
- 动态Type,在使用 Update<object> 后使用本方法,指定实体类型
- </summary>
- <param name="entityType"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.ToSql">
- <summary>
- 返回即将执行的SQL语句
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IInsertOrUpdate`1.ExecuteAffrows">
- <summary>
- 执行SQL语句,返回影响的行数
- </summary>
- <returns></returns>
- </member>
- <member name="F:FreeSql.FieldAliasOptions.AsIndex">
- <summary>
- 自动产生 as1, as2, as3 .... 字段别名<para></para>
- 这种方法可以最大程度防止多表,存在相同字段的问题
- </summary>
- </member>
- <member name="F:FreeSql.FieldAliasOptions.AsProperty">
- <summary>
- 使用属性名作为字段别名
- </summary>
- </member>
- <member name="M:FreeSql.ISelect0`2.Cancel(System.Func{System.Boolean})">
- <summary>
- 控制取消本次查询<para></para>
- * 不会产生额外的异常<para></para>
- * 取消成功,则不执行 SQL 命令<para></para>
- * 取消成功,直接返回没有记录时候的返回值<para></para>
- * 取消成功,如 List<T> 返回 0 元素列表,不是 null,仍然是旧机制<para></para>
- </summary>
- <param name="cancel">返回 true,则不会执行 SQL 命令</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.WithTransaction(System.Data.Common.DbTransaction)">
- <summary>
- 指定事务对象
- </summary>
- <param name="transaction"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.WithConnection(System.Data.Common.DbConnection)">
- <summary>
- 指定连接对象
- </summary>
- <param name="connection"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.WithParameters(System.Collections.Generic.List{System.Data.Common.DbParameter})">
- <summary>
- 使用自定义参数化,UnionALL 或者 ToSql 可能有需要
- </summary>
- <param name="parameters"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.CommandTimeout(System.Int32)">
- <summary>
- 命令超时设置(秒)
- </summary>
- <param name="timeout"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.TrackToList(System.Action{System.Object})">
- <summary>
- 审核或跟踪 ToList 即将返回的数据
- </summary>
- <param name="action"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToDataTable(System.String)">
- <summary>
- 执行SQL查询,返回 DataTable
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToDataTableByPropertyName(System.String[])">
- <summary>
- 执行SQL查询,返回 properties 指定的实体类属性,并以 DataTable 接收
- </summary>
- <param name="properties">属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToDictionary``1(System.Func{`1,``0})">
- <summary>
- 以字典的形式返回查询结果<para></para>
- 注意:字典的特点会导致返回的数据无序
- </summary>
- <typeparam name="TKey"></typeparam>
- <param name="keySelector"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToList">
- <summary>
- 执行SQL查询,返回 T1 实体所有字段的记录,记录不存在时返回 Count 为 0 的列表<para></para>
- 注意:<para></para>
- 1、ToList(a => a) 可以返回 a 所有实体<para></para>
- 2、ToList(a => new { a }) 这样也可以<para></para>
- 3、ToList((a, b, c) => new { a, b, c }) 这样也可以<para></para>
- 4、abc 怎么来的?请试试 fsql.Select<T1, T2, T3>()
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToList(System.Boolean)">
- <summary>
- 执行SQL查询,返回 T1 实体、以及 LeftJoin/InnerJoin/RightJoin 对象
- </summary>
- <param name="includeNestedMembers">false: 返回 2级 LeftJoin/InnerJoin/RightJoin 对象;true: 返回所有 LeftJoin/InnerJoin/RightJoin 的导航数据</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToChunk(System.Int32,System.Action{FreeSql.Internal.Model.FetchCallbackArgs{System.Collections.Generic.List{`1}}},System.Boolean)">
- <summary>
- 执行SQL查询,分块返回数据,可减少内存开销。比如读取10万条数据,每次返回100条处理。
- </summary>
- <param name="size">数据块的大小</param>
- <param name="done">处理数据块</param>
- <param name="includeNestedMembers">false: 返回 2级 LeftJoin/InnerJoin/RightJoin 对象;true: 返回所有 LeftJoin/InnerJoin/RightJoin 的导航数据</param>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToList``1(System.String)">
- <summary>
- 执行SQL查询,返回 field 指定字段的记录,并以元组或基础类型(int,string,long)接收,记录不存在时返回 Count 为 0 的列表
- </summary>
- <typeparam name="TTuple"></typeparam>
- <param name="field"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToOne">
- <summary>
- 执行SQL查询,返回 T1 实体所有字段的第一条记录,记录不存在时返回 null
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.First">
- <summary>
- 执行SQL查询,返回 T1 实体所有字段的第一条记录,记录不存在时返回 null
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToDelete">
- <summary>
- 将查询转为删除对象,以便支持导航对象或其他查询功能删除数据,如下:<para></para>
- fsql.Select<T1>().Where(a => a.Options.xxx == 1).ToDelete().ExecuteAffrows()<para></para>
- 注意:此方法不是将数据查询到内存循环删除,上面的代码产生如下 SQL 执行:<para></para>
- 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>
- 复杂删除使用该方案的好处:<para></para>
- 1、删除前可预览测试数据,防止错误删除操作;<para></para>
- 2、支持更加复杂的删除操作(IDelete 默认只支持简单的操作);
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToUpdate">
- <summary>
- 将查询转为更新对象,以便支持导航对象或其他查询功能更新数据,如下:<para></para>
- fsql.Select<T1>().Where(a => a.Options.xxx == 1).ToUpdate().Set(a => a.Title, "111").ExecuteAffrows()<para></para>
- 注意:此方法不是将数据查询到内存循环更新,上面的代码产生如下 SQL 执行:<para></para>
- 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>
- 复杂更新使用该方案的好处:<para></para>
- 1、更新前可预览测试数据,防止错误更新操作;<para></para>
- 2、支持更加复杂的更新操作(IUpdate 默认只支持简单的操作);
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.AsTable(System.Func{System.Type,System.String,System.String})">
- <summary>
- 设置表名规则,可用于分库/分表,参数1:实体类型;参数2:默认表名;返回值:新表名; <para></para>
- 设置多次,可查询分表后的多个子表记录,以 UNION ALL 形式执行。 <para></para>
- 如:select.AsTable((type, oldname) => "table_1").AsTable((type, oldname) => "table_2").AsTable((type, oldname) => "table_3").ToSql(a => a.Id); <para></para>
- select * from (SELECT a."Id" as1 FROM "table_1" a) ftb <para></para>
- UNION ALL select * from (SELECT a."Id" as1 FROM "table_2" a) ftb <para></para>
- UNION ALL select * from (SELECT a."Id" as1 FROM "table_3" a) ftb <para></para>
- 还可以这样:select.AsTable((a, b) => "(select * from tb_topic where clicks > 10)").Page(1, 10).ToList()
- </summary>
- <param name="tableRule"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.AsAlias(System.Func{System.Type,System.String,System.String})">
- <summary>
- 设置别名规则,可用于拦截表别名,实现类似 sqlserver 的 with(nolock) 需求<para></para>
- 如:select.AsAlias((_, old) => $"{old} with(lock)")
- </summary>
- <param name="aliasRule"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.AsType(System.Type)">
- <summary>
- 动态Type,在使用 Select<object> 后使用本方法,指定实体类型
- </summary>
- <param name="entityType"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ToSql(System.String)">
- <summary>
- 返回即将执行的SQL语句
- </summary>
- <param name="field">指定字段</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Any">
- <summary>
- 执行SQL查询,是否有记录
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Count">
- <summary>
- 查询的记录数量
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Count(System.Int64@)">
- <summary>
- 查询的记录数量,以参数out形式返回
- </summary>
- <param name="count">返回的变量</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Master">
- <summary>
- 指定从主库查询(默认查询从库)
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.LeftJoin(System.Linq.Expressions.Expression{System.Func{`1,System.Boolean}})">
- <summary>
- 左联查询,使用导航属性自动生成SQL
- </summary>
- <param name="exp">表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.InnerJoin(System.Linq.Expressions.Expression{System.Func{`1,System.Boolean}})">
- <summary>
- 联接查询,使用导航属性自动生成SQL
- </summary>
- <param name="exp">表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.RightJoin(System.Linq.Expressions.Expression{System.Func{`1,System.Boolean}})">
- <summary>
- 右联查询,使用导航属性自动生成SQL
- </summary>
- <param name="exp">表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.LeftJoin``1(System.Linq.Expressions.Expression{System.Func{`1,``0,System.Boolean}})">
- <summary>
- 左联查询,指定关联的实体类型
- </summary>
- <typeparam name="T2">关联的实体类型</typeparam>
- <param name="exp">表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.InnerJoin``1(System.Linq.Expressions.Expression{System.Func{`1,``0,System.Boolean}})">
- <summary>
- 联接查询,指定关联的实体类型
- </summary>
- <typeparam name="T2">关联的实体类型</typeparam>
- <param name="exp">表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.RightJoin``1(System.Linq.Expressions.Expression{System.Func{`1,``0,System.Boolean}})">
- <summary>
- 右联查询,指定关联的实体类型
- </summary>
- <typeparam name="T2">关联的实体类型</typeparam>
- <param name="exp">表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.LeftJoin(System.String,System.Object)">
- <summary>
- 左联查询,使用原生sql语法,LeftJoin("type b on b.id = a.id and b.clicks > @clicks", new { clicks = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.InnerJoin(System.String,System.Object)">
- <summary>
- 联接查询,使用原生sql语法,InnerJoin("type b on b.id = a.id and b.clicks > @clicks", new { clicks = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.RightJoin(System.String,System.Object)">
- <summary>
- 右联查询,使用原生sql语法,RightJoin("type b on b.id = a.id and b.clicks > @clicks", new { clicks = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.RawJoin(System.String)">
- <summary>
- 在 JOIN 位置插入 SQL 内容<para></para>
- 如:.RawJoin("OUTER APPLY ( select id from t2 ) b")
- </summary>
- <param name="sql"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Where(System.String,System.Object)">
- <summary>
- 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.WhereIf(System.Boolean,System.String,System.Object)">
- <summary>
- 原生sql语法条件,WhereIf(true, "id = @id", new { id = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="condition">true 时生效</param>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.WhereDynamicFilter(FreeSql.Internal.Model.DynamicFilterInfo)">
- <summary>
- 动态过滤条件
- </summary>
- <param name="filter"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.DisableGlobalFilter(System.String[])">
- <summary>
- 禁用全局过滤功能,不传参数时将禁用所有
- </summary>
- <param name="name">零个或多个过滤器名字</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.ForUpdate(System.Boolean)">
- <summary>
- 排他更新锁<para></para>
- 注意:务必在开启事务后使用该功能<para></para>
- MySql: for update<para></para>
- SqlServer: With(UpdLock, RowLock, NoWait)<para></para>
- PostgreSQL: for update nowait<para></para>
- Oracle: for update nowait<para></para>
- Sqlite: 无效果<para></para>
- 达梦: for update nowait<para></para>
- 人大金仓: for update nowait<para></para>
- 神通: for update
- </summary>
- <param name="nowait">noawait</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.GroupBy(System.String,System.Object)">
- <summary>
- 按原生sql语法分组,GroupBy("concat(name, @cc)", new { cc = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Having(System.String,System.Object)">
- <summary>
- 按原生sql语法聚合条件过滤,Having("count(name) = @cc", new { cc = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.OrderBy(System.String,System.Object)">
- <summary>
- 按原生sql语法排序,OrderBy("count(name) + @cc desc", new { cc = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.OrderBy(System.Boolean,System.String,System.Object)">
- <summary>
- 按原生sql语法排序,OrderBy(true, "count(name) + @cc desc", new { cc = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="condition">true 时生效</param>
- <param name="sql">sql语法</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.OrderByPropertyName(System.String,System.Boolean)">
- <summary>
- 按属性名字符串排序(支持导航属性)<para></para>
- 属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name
- </summary>
- <param name="property">属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name</param>
- <param name="isAscending">顺序 | 倒序</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.OrderByPropertyNameIf(System.Boolean,System.String,System.Boolean)">
- <summary>
- 按属性名字符串排序(支持导航属性)<para></para>
- 属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name
- </summary>
- <param name="condition">true 时生效</param>
- <param name="property">属性名:Name<para></para>导航属性:Parent.Name<para></para>多表:b.Name</param>
- <param name="isAscending">顺序 | 倒序</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Skip(System.Int32)">
- <summary>
- 查询向后偏移行数
- </summary>
- <param name="offset"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Offset(System.Int32)">
- <summary>
- 查询向后偏移行数
- </summary>
- <param name="offset">行数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Limit(System.Int32)">
- <summary>
- 查询多少条数据
- </summary>
- <param name="limit"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Take(System.Int32)">
- <summary>
- 查询多少条数据
- </summary>
- <param name="limit"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Page(System.Int32,System.Int32)">
- <summary>
- 分页
- </summary>
- <param name="pageNumber">第几页</param>
- <param name="pageSize">每页多少</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Page(FreeSql.Internal.Model.BasePagingInfo)">
- <summary>
- 分页
- </summary>
- <param name="pagingInfo">分页信息</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect0`2.Distinct">
- <summary>
- 查询数据前,去重
- <para>
- .Distinct().ToList(x => x.GroupName) 对指定字段去重
- </para>
- <para>
- .Distinct().ToList() 对整个查询去重
- </para>
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Any(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- 执行SQL查询,是否有记录
- </summary>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.InsertInto``1(System.String,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 将查询转换为 INSERT INTO tableName SELECT ... FROM t 执行插入
- </summary>
- <typeparam name="TTargetEntity"></typeparam>
- <param name="tableName">指定插入的表名,若为 null 则使用 TTargetEntity 实体表名</param>
- <param name="select">选择列</param>
- <returns>返回影响的行数</returns>
- </member>
- <member name="M:FreeSql.ISelect`1.ToDataTable``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 执行SQL查询,返回 DataTable
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.ToList``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 执行SQL查询,返回指定字段的记录,记录不存在时返回 Count 为 0 的列表
- </summary>
- <typeparam name="TReturn">返回类型</typeparam>
- <param name="select">选择列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.ToList``1">
- <summary>
- 执行SQL查询,返回 TDto 映射的字段,记录不存在时返回 Count 为 0 的列表
- </summary>
- <typeparam name="TDto"></typeparam>
- <returns></returns>
- </member>
- <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}}})">
- <summary>
- 执行SQL查询,分块返回数据,可减少内存开销。比如读取10万条数据,每次返回100条处理。
- </summary>
- <typeparam name="TReturn">返回类型</typeparam>
- <param name="select">选择列</param>
- <param name="size">数据块的大小</param>
- <param name="done">处理数据块</param>
- </member>
- <member name="M:FreeSql.ISelect`1.ToOne``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 执行SQL查询,返回指定字段的记录的第一条记录,记录不存在时返回 TReturn 默认值
- </summary>
- <typeparam name="TReturn">返回类型</typeparam>
- <param name="select">选择列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.ToOne``1">
- <summary>
- 执行SQL查询,返回 TDto 映射的字段,记录不存在时返回 Dto 默认值
- </summary>
- <typeparam name="TDto"></typeparam>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.First``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 执行SQL查询,返回指定字段的记录的第一条记录,记录不存在时返回 TReturn 默认值
- </summary>
- <typeparam name="TReturn">返回类型</typeparam>
- <param name="select">选择列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.First``1">
- <summary>
- 执行SQL查询,返回 TDto 映射的字段,记录不存在时返回 Dto 默认值
- </summary>
- <typeparam name="TDto"></typeparam>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.ToSql``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},FreeSql.FieldAliasOptions)">
- <summary>
- 返回即将执行的SQL语句
- </summary>
- <typeparam name="TReturn">返回类型</typeparam>
- <param name="select">选择列</param>
- <param name="fieldAlias">字段别名</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.ToAggregate``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0},``0}})">
- <summary>
- 执行SQL查询,返回指定字段的聚合结果
- </summary>
- <typeparam name="TReturn"></typeparam>
- <param name="select"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Aggregate``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0},``0}},``0@)">
- <summary>
- 执行SQL查询,返回指定字段的聚合结果给 output 参数<para></para>
- fsql.Select<T>()<para></para>
- .Aggregate(a => new { count = a.Count, sum = a.Sum(a.Key.Price) }, out var agg)<para></para>
- .Page(1, 10).ToList();
- </summary>
- <typeparam name="TReturn"></typeparam>
- <param name="select"></param>
- <param name="result"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Sum``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 求和
- </summary>
- <typeparam name="TMember">返回类型</typeparam>
- <param name="column">列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Min``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 最小值
- </summary>
- <typeparam name="TMember">返回类型</typeparam>
- <param name="column">列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Max``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 最大值
- </summary>
- <typeparam name="TMember">返回类型</typeparam>
- <param name="column">列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Avg``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 平均值
- </summary>
- <typeparam name="TMember">返回类型</typeparam>
- <param name="column">列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.As(System.String)">
- <summary>
- 指定别名
- </summary>
- <param name="alias">别名</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.From``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectFromExpression{`0},``0,FreeSql.ISelectFromExpression{`0}}})">
- <summary>
- 多表查询
- </summary>
- <typeparam name="T2"></typeparam>
- <param name="exp"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Where(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- 查询条件,Where(a => a.Id > 10),支持导航对象查询,Where(a => a.Author.Email == "2881099@qq.com")
- </summary>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- 查询条件,Where(true, a => a.Id > 10),支导航对象查询,Where(true, a => a.Author.Email == "2881099@qq.com")
- </summary>
- <param name="condition">true 时生效</param>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Where``1(System.Linq.Expressions.Expression{System.Func{`0,``0,System.Boolean}})">
- <summary>
- 多表条件查询
- </summary>
- <typeparam name="T2"></typeparam>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Where``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
- <summary>
- 多表条件查询
- </summary>
- <typeparam name="T2"></typeparam>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Where``2(System.Linq.Expressions.Expression{System.Func{`0,``0,``1,System.Boolean}})">
- <summary>
- 多表条件查询
- </summary>
- <typeparam name="T2"></typeparam>
- <typeparam name="T3"></typeparam>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Where``3(System.Linq.Expressions.Expression{System.Func{`0,``0,``1,``2,System.Boolean}})">
- <summary>
- 多表条件查询
- </summary>
- <typeparam name="T2"></typeparam>
- <typeparam name="T3"></typeparam>
- <typeparam name="T4"></typeparam>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Where``4(System.Linq.Expressions.Expression{System.Func{`0,``0,``1,``2,``3,System.Boolean}})">
- <summary>
- 多表条件查询
- </summary>
- <typeparam name="T2"></typeparam>
- <typeparam name="T3"></typeparam>
- <typeparam name="T4"></typeparam>
- <typeparam name="T5"></typeparam>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.WhereDynamic(System.Object,System.Boolean)">
- <summary>
- 传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <param name="not">是否标识为NOT</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.WhereCascade(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- 多表查询时,该方法标记后,表达式条件将对所有表进行附加
- <para></para>
- 例如:软删除、租户,每个表都给条件,挺麻烦的
- <para></para>
- fsql.Select<T1>().LeftJoin<T2>(...).Where<T2>((t1, t2 => t1.IsDeleted == false && t2.IsDeleted == false)
- <para></para>
- 修改:fsql.Select<T1>().LeftJoin<T2>(...).WhereCascade(t1 => t1.IsDeleted == false)
- <para></para>
- 当其中的实体可附加表达式才会进行,表越多时收益越大
- </summary>
- <param name="exp"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.GroupBy``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 按选择的列分组,GroupBy(a => a.Name) | GroupBy(a => new{a.Name,a.Time})
- </summary>
- <param name="exp"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.OrderBy``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 按列排序,OrderBy(a => a.Time)
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.OrderBy``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 按列排序,OrderBy(true, a => a.Time)
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="condition">true 时生效</param>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.OrderByIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Boolean)">
- <summary>
- 按列排序,OrderByIf(true, a => a.Time)
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="condition">true 时生效</param>
- <param name="column"></param>
- <param name="descending">true: DESC, false: ASC</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.OrderByDescending``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 按列倒向排序,OrderByDescending(a => a.Time)
- </summary>
- <param name="column">列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.OrderByDescending``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 按列倒向排序,OrderByDescending(true, a => a.Time)
- </summary>
- <param name="condition">true 时生效</param>
- <param name="column">列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.Include``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 贪婪加载导航属性,如果查询中已经使用了 a.Parent.Parent 类似表达式,则可以无需此操作
- </summary>
- <typeparam name="TNavigate"></typeparam>
- <param name="navigateSelector">选择一个导航属性</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.IncludeIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 贪婪加载导航属性,如果查询中已经使用了 a.Parent.Parent 类似表达式,则可以无需此操作
- </summary>
- <typeparam name="TNavigate"></typeparam>
- <param name="condition">true 时生效</param>
- <param name="navigateSelector">选择一个导航属性</param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 贪婪加载集合的导航属性,其实是分两次查询,ToList 后进行了数据重装<para></para>
- 文档:https://github.com/dotnetcore/FreeSql/wiki/%E8%B4%AA%E5%A9%AA%E5%8A%A0%E8%BD%BD
- </summary>
- <typeparam name="TNavigate"></typeparam>
- <param name="navigateSelector">选择一个集合的导航属性,如: .IncludeMany(a => a.Tags)<para></para>
- 可以 .Where 设置临时的关系映射,如: .IncludeMany(a => a.Tags.Where(tag => tag.TypeId == a.Id))<para></para>
- 可以 .Take(5) 每个子集合只取5条,如: .IncludeMany(a => a.Tags.Take(5))<para></para>
- 可以 .Select 设置只查询部分字段,如: (a => new TNavigate { Title = a.Title })
- </param>
- <param name="then">即能 ThenInclude,还可以二次过滤(这个 EFCore 做不到?)</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.IncludeByPropertyName(System.String)">
- <summary>
- 按属性名字符串进行 Include/IncludeMany 操作
- </summary>
- <param name="property"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.IncludeByPropertyNameIf(System.Boolean,System.String)">
- <summary>
- 按属性名字符串进行 Include/IncludeMany 操作
- </summary>
- <param name="condition">true 时生效</param>
- <param name="property"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.WithSql(System.String,System.Object)">
- <summary>
- 实现 select .. from ( select ... from t ) a 这样的功能<para></para>
- 使用 AsTable 方法也可以达到效果<para></para>
- 示例:WithSql("select * from id=@id", new { id = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">SQL语句</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.WithMemory(System.Collections.Generic.IEnumerable{`0})">
- <summary>
- 实现 select .. from ( select .. UNION ALL select .. ) a 这样的功能(基于内存数据)
- </summary>
- <param name="source">内存数据</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelect`1.WithTempQuery``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 嵌套查询 select * from ( select ... from table ... ) a
- </summary>
- <typeparam name="TDto"></typeparam>
- <param name="selector"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectFromExpression`1.Where(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- 查询条件,Where(a => a.Id > 10),支持导航对象查询,Where(a => a.Author.Email == "2881099@qq.com")
- </summary>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectFromExpression`1.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- 查询条件,Where(true, a => a.Id > 10),支导航对象查询,Where(true, a => a.Author.Email == "2881099@qq.com")
- </summary>
- <param name="condition">true 时生效</param>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectFromExpression`1.OrderBy``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 按列排序,OrderBy(a => a.Time)
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectFromExpression`1.OrderByDescending``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 按列倒向排序,OrderByDescending(a => a.Time)
- </summary>
- <param name="column">列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Having(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},System.Boolean}})">
- <summary>
- 按聚合条件过滤,Having(a => a.Count() > 10)
- </summary>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.HavingIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},System.Boolean}})">
- <summary>
- 按聚合条件过滤,HavingIf(true, a => a.Count() > 10)
- </summary>
- <param name="condition">true 时生效</param>
- <param name="exp">lambda表达式</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.OrderBy``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
- <summary>
- 按列排序,OrderBy(a => a.Time)
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.OrderByDescending``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
- <summary>
- 按列倒向排序,OrderByDescending(a => a.Time)
- </summary>
- <param name="column">列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.ToList``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
- <summary>
- 执行SQL查询,返回指定字段的记录,记录不存在时返回 Count 为 0 的列表
- </summary>
- <typeparam name="TReturn">返回类型</typeparam>
- <param name="select">选择列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.First``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
- <summary>
- 执行SQL查询,返回指定字段的记录的第一条记录,记录不存在时返回 TReturn 默认值
- </summary>
- <typeparam name="TReturn"></typeparam>
- <param name="select"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Select``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
- <summary>
- 【linq to sql】专用方法,不建议直接使用
- </summary>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.ToSql``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}},FreeSql.FieldAliasOptions)">
- <summary>
- 返回即将执行的SQL语句
- </summary>
- <typeparam name="TReturn">返回类型</typeparam>
- <param name="select">选择列</param>
- <param name="fieldAlias"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.ToSql(System.String)">
- <summary>
- 返回即将执行的SQL语句
- </summary>
- <param name="field">指定字段</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.WithTempQuery``1(System.Linq.Expressions.Expression{System.Func{FreeSql.ISelectGroupingAggregate{`0,`1},``0}})">
- <summary>
- 嵌套查询 select * from ( select ... from table group by ... ) a
- </summary>
- <typeparam name="TDto"></typeparam>
- <param name="selector"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Skip(System.Int32)">
- <summary>
- 查询向后偏移行数
- </summary>
- <param name="offset"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Offset(System.Int32)">
- <summary>
- 查询向后偏移行数
- </summary>
- <param name="offset">行数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Limit(System.Int32)">
- <summary>
- 查询多少条数据
- </summary>
- <param name="limit"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Take(System.Int32)">
- <summary>
- 查询多少条数据
- </summary>
- <param name="limit"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Page(System.Int32,System.Int32)">
- <summary>
- 分页
- </summary>
- <param name="pageNumber">第几页</param>
- <param name="pageSize">每页多少</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Page(FreeSql.Internal.Model.BasePagingInfo)">
- <summary>
- 分页
- </summary>
- <param name="pagingInfo">分页信息</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Count">
- <summary>
- 查询的记录数量
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGrouping`2.Count(System.Int64@)">
- <summary>
- 查询的记录数量,以参数out形式返回
- </summary>
- <param name="count">返回的变量</param>
- <returns></returns>
- </member>
- <member name="P:FreeSql.ISelectGroupingAggregate`1.Key">
- <summary>
- 分组的数据
- </summary>
- </member>
- <member name="M:FreeSql.ISelectGroupingAggregate`1.Count">
- <summary>
- 记录总数
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGroupingAggregate`1.Sum``1(``0)">
- <summary>
- 求和
- </summary>
- <typeparam name="T3"></typeparam>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGroupingAggregate`1.Avg``1(``0)">
- <summary>
- 平均值
- </summary>
- <typeparam name="T3"></typeparam>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGroupingAggregate`1.Max``1(``0)">
- <summary>
- 最大值
- </summary>
- <typeparam name="T3"></typeparam>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ISelectGroupingAggregate`1.Min``1(``0)">
- <summary>
- 最小值
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="P:FreeSql.ISelectGroupingAggregate`2.Value">
- <summary>
- 所有元素
- </summary>
- </member>
- <member name="M:FreeSql.IUpdate`1.Join``1(FreeSql.ISelect{``0},System.Linq.Expressions.Expression{System.Func{`0,``0,System.Boolean}})">
- <summary>
- 联表更新(危险操作),支持更复杂的联表更新<para></para>
- fsql.Update<T1>()<para></para>
- .Join(fsql.Select<T1>(), (a, b) => a.id == b.id)<para></para>
- .Set((a, b) => a.name == b.name)<para></para>
- .Set((a, b) => a.time == b.time2)<para></para>
- .ExecuteAffrows();
- </summary>
- <typeparam name="T2"></typeparam>
- <param name="query"></param>
- <param name="on"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.Join``1(System.Linq.Expressions.Expression{System.Func{`0,``0,System.Boolean}})">
- <summary>
- 联表更新(危险操作)<para></para>
- fsql.Update<T1>()<para></para>
- .Join<T2>((a, b) => a.id == b.id)<para></para>
- .Set((a, b) => a.name == b.name)<para></para>
- .Set((a, b) => a.time == b.time2)<para></para>
- .ExecuteAffrows();
- </summary>
- <typeparam name="T2"></typeparam>
- <param name="on"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.WithTransaction(System.Data.Common.DbTransaction)">
- <summary>
- 指定事务对象
- </summary>
- <param name="transaction"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.WithConnection(System.Data.Common.DbConnection)">
- <summary>
- 指定事务对象
- </summary>
- <param name="connection"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.CommandTimeout(System.Int32)">
- <summary>
- 命令超时设置(秒)
- </summary>
- <param name="timeout"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.NoneParameter(System.Boolean)">
- <summary>
- 不使用参数化,可通过 IFreeSql.CodeFirst.IsNotCommandParameter 全局性设置
- </summary>
- <param name="isNotCommandParameter">是否不使用参数化</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.BatchOptions(System.Int32,System.Int32,System.Boolean)">
- <summary>
- 批量执行选项设置,一般不需要使用该方法<para></para>
- 各数据库 rows, parameters 限制不一样,默认设置:<para></para>
- MySql 500 3000<para></para>
- PostgreSQL 500 3000<para></para>
- SqlServer 500 2100<para></para>
- Oracle 200 999<para></para>
- Sqlite 200 999<para></para>
- 若没有事务传入,内部(默认)会自动开启新事务,保证拆包执行的完整性。
- </summary>
- <param name="rowsLimit">指定根据 rows 上限数量拆分执行</param>
- <param name="parameterLimit">指定根据 parameters 上限数量拆分执行</param>
- <param name="autoTransaction">是否自动开启事务</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.BatchProgress(System.Action{FreeSql.Internal.Model.BatchProgressStatus{`0}})">
- <summary>
- 批量执行时,分批次执行的进度状态
- </summary>
- <param name="callback">批量执行时的回调委托</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.SetSource(`0)">
- <summary>
- 更新数据,设置更新的实体<para></para>
- 注意:实体必须定义主键,并且最终会自动附加条件 where id = source.Id
- </summary>
- <param name="source">实体</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.SetSource(System.Collections.Generic.IEnumerable{`0},System.Linq.Expressions.Expression{System.Func{`0,System.Object}},System.Boolean)">
- <summary>
- 更新数据,设置更新的实体集合<para></para>
- 注意:实体必须定义主键,并且最终会自动附加条件 where id in (source.Id)
- </summary>
- <param name="source">实体集合</param>
- <param name="tempPrimarys">根据临时主键更新,a => a.Name | a => new{a.Name,a.Time} | a => new[]{"name","time"}</param>
- <param name="ignoreVersion">忽略 IsVersion 乐观锁版本号</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.SetSourceIgnore(`0,System.Func{System.Object,System.Boolean})">
- <summary>
- 更新数据,设置更新的实体,同时设置忽略的列<para></para>
- 忽略 null 属性:fsql.Update<T>().SetSourceAndIgnore(item, colval => colval == null)<para></para>
- 注意:参数 ignore 与 IUpdate.IgnoreColumns/UpdateColumns 不能同时使用
- </summary>
- <param name="source">实体</param>
- <param name="ignore">属性值忽略判断, true忽略</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.IgnoreColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
- <summary>
- 忽略的列,IgnoreColumns(a => a.Name) | IgnoreColumns(a => new{a.Name,a.Time}) | IgnoreColumns(a => new[]{"name","time"})<para></para>
- 注意:不能与 UpdateColumns 不能同时使用
- </summary>
- <param name="columns">lambda选择列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.IgnoreColumns(System.String[])">
- <summary>
- 忽略的列<para></para>
- 注意:不能与 UpdateColumns 不能同时使用
- </summary>
- <param name="columns">属性名,或者字段名</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.UpdateColumns(System.Linq.Expressions.Expression{System.Func{`0,System.Object}})">
- <summary>
- 指定的列,UpdateColumns(a => a.Name) | UpdateColumns(a => new{a.Name,a.Time}) | UpdateColumns(a => new[]{"name","time"})<para></para>
- 注意:不能与 IgnoreColumns 不能同时使用
- </summary>
- <param name="columns">lambda选择列</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.UpdateColumns(System.String[])">
- <summary>
- 指定的列<para></para>
- 注意:不能与 IgnoreColumns 同时使用
- </summary>
- <param name="columns">属性名,或者字段名</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.Set``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
- <summary>
- 设置列的新值,Set(a => a.Name, "newvalue")
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="column">lambda选择列</param>
- <param name="value">新值</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.SetIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
- <summary>
- 设置列的新值,Set(a => a.Name, "newvalue")
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="condition">true 时生效</param>
- <param name="column">lambda选择列</param>
- <param name="value">新值</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.Set``1(System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 设置列的新值为基础上增加,格式:Set(a => a.Clicks + 1) 相当于 clicks=clicks+1
- <para></para>
- 指定更新,格式:Set(a => new T { Clicks = a.Clicks + 1, Time = DateTime.Now }) 相当于 set clicks=clicks+1,time='2019-06-19....'
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="exp"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.SetIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}})">
- <summary>
- 设置列的新值为基础上增加,格式:Set(a => a.Clicks + 1) 相当于 clicks=clicks+1
- <para></para>
- 指定更新,格式:Set(a => new T { Clicks = a.Clicks + 1, Time = DateTime.Now }) 相当于 set clicks=clicks+1,time='2019-06-19....'
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="condition">true 时生效</param>
- <param name="exp"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.SetRaw(System.String,System.Object)">
- <summary>
- 设置值,自定义SQL语法,SetRaw("title = @title", new { title = "newtitle" })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.SetDto(System.Object)">
- <summary>
- 设置更新的列<para></para>
- SetDto(new { title = "xxx", clicks = 2 })<para></para>
- SetDto(new Dictionary<string, object> { ["title"] = "xxx", ["clicks"] = 2 })<para></para>
- 注意:标记 [Column(CanUpdate = false)] 的属性不会被更新<para></para>
- 注意:SetDto 与 IUpdate.IgnoreColumns/UpdateColumns 不能同时使用
- </summary>
- <param name="dto">dto 或 Dictionary<string, object></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.SetDtoIgnore(System.Object,System.Func{System.Object,System.Boolean})">
- <summary>
- 设置更新的列<para></para>
- SetDto(new { title = "xxx", clicks = 2 })<para></para>
- SetDto(new Dictionary<string, object> { ["title"] = "xxx", ["clicks"] = 2 })<para></para>
- 注意:标记 [Column(CanUpdate = false)] 的属性不会被更新<para></para>
- 注意:SetDto 与 IUpdate.IgnoreColumns/UpdateColumns 不能同时使用
- </summary>
- <param name="dto">dto 或 Dictionary<string, object></param>
- <param name="ignore">属性值忽略判断, true忽略</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.Where(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- lambda表达式条件,仅支持实体基础成员(不包含导航对象)<para></para>
- 若想使用导航对象,请使用 ISelect.ToUpdate() 方法
- </summary>
- <param name="exp">lambda表达式条件</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
- <summary>
- lambda表达式条件,仅支持实体基础成员(不包含导航对象)<para></para>
- 若想使用导航对象,请使用 ISelect.ToUpdate() 方法
- </summary>
- <param name="condition">true 时生效</param>
- <param name="exp">lambda表达式条件</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.Where(System.String,System.Object)">
- <summary>
- 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.Where(`0)">
- <summary>
- 传入实体,将主键作为条件
- </summary>
- <param name="item">实体</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.Where(System.Collections.Generic.IEnumerable{`0})">
- <summary>
- 传入实体集合,将主键作为条件
- </summary>
- <param name="items">实体集合</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.WhereDynamic(System.Object,System.Boolean)">
- <summary>
- 传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <param name="not">是否标识为NOT</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.WhereDynamicFilter(FreeSql.Internal.Model.DynamicFilterInfo)">
- <summary>
- 动态过滤条件
- </summary>
- <param name="filter"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.DisableGlobalFilter(System.String[])">
- <summary>
- 禁用全局过滤功能,不传参数时将禁用所有
- </summary>
- <param name="name">零个或多个过滤器名字</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.AsTable(System.Func{System.String,System.String})">
- <summary>
- 设置表名规则,可用于分库/分表,参数1:默认表名;返回值:新表名;
- </summary>
- <param name="tableRule"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.AsTable(System.String)">
- <summary>
- 设置表名
- </summary>
- <param name="tableName"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.AsType(System.Type)">
- <summary>
- 动态Type,在使用 Update<object> 后使用本方法,指定实体类型
- </summary>
- <param name="entityType"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.ToSql">
- <summary>
- 返回即将执行的SQL语句
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.ExecuteAffrows">
- <summary>
- 执行SQL语句,返回影响的行数
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.ExecuteUpdated">
- <summary>
- 执行SQL语句,返回更新后的记录<para></para>
- 注意:此方法只有 Postgresql/SqlServer 有效果
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdate`1.ExecuteUpdatedAsync(System.Threading.CancellationToken)">
- <summary>
- 执行SQL语句,返回更新后的记录<para></para>
- 注意:此方法只有 Postgresql/SqlServer 有效果
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.WithTransaction(System.Data.Common.DbTransaction)">
- <summary>
- 指定事务对象
- </summary>
- <param name="transaction"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.WithConnection(System.Data.Common.DbConnection)">
- <summary>
- 指定事务对象
- </summary>
- <param name="connection"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.CommandTimeout(System.Int32)">
- <summary>
- 命令超时设置(秒)
- </summary>
- <param name="timeout"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.Set``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
- <summary>
- 设置列的固定新值,Set(a => a.Name, "newvalue")
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="column">lambda选择列</param>
- <param name="value">新值</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.SetIf``1(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
- <summary>
- 设置列的固定新值,Set(a => a.Name, "newvalue")
- </summary>
- <typeparam name="TMember"></typeparam>
- <param name="condition">true 时生效</param>
- <param name="column">lambda选择列</param>
- <param name="value">新值</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.Set(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">
- <summary>
- 设置列的联表值,格式:<para></para>
- Set((a, b) => a.Clicks == b.xxx)<para></para>
- Set((a, b) => a.Clicks == a.Clicks + 1)
- </summary>
- <param name="exp"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.SetIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">
- <summary>
- 设置列的联表值,格式:<para></para>
- Set((a, b) => a.Clicks == b.xxx)<para></para>
- Set((a, b) => a.Clicks == a.Clicks + 1)
- <para></para>
- </summary>
- <param name="condition">true 时生效</param>
- <param name="exp"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.SetRaw(System.String,System.Object)">
- <summary>
- 设置值,自定义SQL语法,SetRaw("title = @title", new { title = "newtitle" })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.Where(System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">
- <summary>
- lambda表达式条件,仅支持实体基础成员(不包含导航对象)
- </summary>
- <param name="exp">lambda表达式条件</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.WhereIf(System.Boolean,System.Linq.Expressions.Expression{System.Func{`0,`1,System.Boolean}})">
- <summary>
- lambda表达式条件,仅支持实体基础成员(不包含导航对象)
- </summary>
- <param name="condition">true 时生效</param>
- <param name="exp">lambda表达式条件</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.Where(System.String,System.Object)">
- <summary>
- 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="sql">sql语法条件</param>
- <param name="parms">参数</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.DisableGlobalFilter(System.String[])">
- <summary>
- 禁用全局过滤功能,不传参数时将禁用所有
- </summary>
- <param name="name">零个或多个过滤器名字</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.AsTable(System.String,System.String)">
- <summary>
- 设置表名
- </summary>
- <param name="tableName"></param>
- <param name="joinTableName"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.ToSql">
- <summary>
- 返回即将执行的SQL语句
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IUpdateJoin`2.ExecuteAffrows">
- <summary>
- 执行SQL语句,返回影响的行数
- </summary>
- <returns></returns>
- </member>
- <member name="P:FreeSql.IAdo.MasterPool">
- <summary>
- 主库连接池
- </summary>
- </member>
- <member name="P:FreeSql.IAdo.SlavePools">
- <summary>
- 从库连接池
- </summary>
- </member>
- <member name="P:FreeSql.IAdo.DataType">
- <summary>
- 数据库类型
- </summary>
- </member>
- <member name="P:FreeSql.IAdo.ConnectionString">
- <summary>
- UseConnectionString 时候的值
- </summary>
- </member>
- <member name="P:FreeSql.IAdo.SlaveConnectionStrings">
- <summary>
- UseSalve 时候的值
- </summary>
- </member>
- <member name="P:FreeSql.IAdo.Identifier">
- <summary>
- 唯一标识
- </summary>
- </member>
- <member name="M:FreeSql.IAdo.Transaction(System.Action)">
- <summary>
- 开启事务(不支持异步)
- </summary>
- <param name="handler">事务体 () => {}</param>
- </member>
- <member name="M:FreeSql.IAdo.Transaction(System.Data.IsolationLevel,System.Action)">
- <summary>
- 开启事务(不支持异步)
- </summary>
- <param name="isolationLevel"></param>
- <param name="handler">事务体 () => {}</param>
- </member>
- <member name="P:FreeSql.IAdo.TransactionCurrentThread">
- <summary>
- 当前线程的事务
- </summary>
- </member>
- <member name="M:FreeSql.IAdo.GetDbParamtersByObject(System.Object)">
- <summary>
- 将 new { id = 1 } 或者 Dictionary<string, object> 转换为 DbParameter[]
- </summary>
- <param name="obj">new { id = 1 } 或者 Dictionary<string, object></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.CommandFluent(System.String,System.Object)">
- <summary>
- SQL 命令执行类,fsql.Ado.CommandFluent("select * from user where age > @age", new { age = 25 })<para></para>
- .WithConnection(connection)<para></para>
- .WithTransaction(transaction)<para></para>
- .WithParameter("age", 25)<para></para>
- .WithParameter("id", 11)<para></para>
- .CommandType(CommandType.Text)<para></para>
- .CommandTimeout(60)<para></para>
- .Query<T>(); 或者 ExecuteNonQuery/ExecuteScalar/ExecuteDataTable/ExecuteDataSet/ExecuteArray
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteConnectTest(System.Int32)">
- <summary>
- 测试数据库是否连接正确,本方法执行如下命令:<para></para>
- MySql/SqlServer/PostgreSQL/达梦/人大金仓/神通: SELECT 1<para></para>
- Oracle: SELECT 1 FROM dual<para></para>
- </summary>
- <param name="commandTimeout">命令超时设置(秒)</param>
- <returns>true: 成功, false: 失败</returns>
- </member>
- <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[])">
- <summary>
- 查询,若使用读写分离,查询【从库】条件cmdText.StartsWith("SELECT "),否则查询【主库】
- </summary>
- <param name="fetchHandler"></param>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteReader(System.Action{FreeSql.Internal.Model.FetchCallbackArgs{System.Data.Common.DbDataReader}},System.String,System.Object)">
- <summary>
- 查询,ExecuteReader(dr => {}, "select * from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="fetchHandler"></param>
- <param name="cmdText"></param>
- <param name="parms"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteArray(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
- <summary>
- 查询
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteArray(System.String,System.Object)">
- <summary>
- 查询,ExecuteArray("select * from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteDataSet(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
- <summary>
- 查询
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteDataSet(System.String,System.Object)">
- <summary>
- 查询,ExecuteDataSet("select * from user where age > @age; select 2", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteDataTable(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
- <summary>
- 查询
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteDataTable(System.String,System.Object)">
- <summary>
- 查询,ExecuteDataTable("select * from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteNonQuery(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
- <summary>
- 在【主库】执行
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteNonQuery(System.String,System.Object)">
- <summary>
- 在【主库】执行,ExecuteNonQuery("delete from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteScalar(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
- <summary>
- 在【主库】执行
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteScalar(System.String,System.Object)">
- <summary>
- 在【主库】执行,ExecuteScalar("select 1 from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.Query``1(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
- <summary>
- 执行SQL返回对象集合,Query<User>("select * from user where age > @age", new SqlParameter { ParameterName = "age", Value = 25 })
- </summary>
- <typeparam name="T"></typeparam>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.Query``1(System.String,System.Object)">
- <summary>
- 执行SQL返回对象集合,Query<User>("select * from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <typeparam name="T"></typeparam>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.Query``2(System.Data.CommandType,System.String,System.Data.Common.DbParameter[])">
- <summary>
- 执行SQL返回对象集合,Query<User>("select * from user where age > @age; select * from address", new SqlParameter { ParameterName = "age", Value = 25 })
- </summary>
- <typeparam name="T1"></typeparam>
- <typeparam name="T2"></typeparam>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.Query``2(System.String,System.Object)">
- <summary>
- 执行SQL返回对象集合,Query<User>("select * from user where age > @age; select * from address", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <typeparam name="T1"></typeparam>
- <typeparam name="T2"></typeparam>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteConnectTestAsync(System.Int32,System.Threading.CancellationToken)">
- <summary>
- 测试数据库是否连接正确,本方法执行如下命令:<para></para>
- MySql/SqlServer/PostgreSQL/达梦/人大金仓/神通: SELECT 1<para></para>
- Oracle: SELECT 1 FROM dual<para></para>
- </summary>
- <param name="commandTimeout">命令超时设置(秒)</param>
- <param name="cancellationToken"></param>
- <returns>true: 成功, false: 失败</returns>
- </member>
- <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)">
- <summary>
- 查询,若使用读写分离,查询【从库】条件cmdText.StartsWith("SELECT "),否则查询【主库】
- </summary>
- <param name="readerHander"></param>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <param name="cancellationToken"></param>
- </member>
- <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)">
- <summary>
- 查询,ExecuteReaderAsync(dr => {}, "select * from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="readerHander"></param>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <param name="cancellationToken"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteArrayAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
- <summary>
- 查询
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <param name="cancellationToken"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteArrayAsync(System.String,System.Object,System.Threading.CancellationToken)">
- <summary>
- 查询,ExecuteArrayAsync("select * from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <param name="cancellationToken"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteDataSetAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
- <summary>
- 查询
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <param name="cancellationToken"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteDataSetAsync(System.String,System.Object,System.Threading.CancellationToken)">
- <summary>
- 查询,ExecuteDataSetAsync("select * from user where age > @age; select 2", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <param name="cancellationToken"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteDataTableAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
- <summary>
- 查询
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <param name="cancellationToken"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteDataTableAsync(System.String,System.Object,System.Threading.CancellationToken)">
- <summary>
- 查询,ExecuteDataTableAsync("select * from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <param name="cancellationToken"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteNonQueryAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
- <summary>
- 在【主库】执行
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <param name="cancellationToken"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteNonQueryAsync(System.String,System.Object,System.Threading.CancellationToken)">
- <summary>
- 在【主库】执行,ExecuteNonQueryAsync("delete from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <param name="cancellationToken"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteScalarAsync(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
- <summary>
- 在【主库】执行
- </summary>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <param name="cancellationToken"></param>
- </member>
- <member name="M:FreeSql.IAdo.ExecuteScalarAsync(System.String,System.Object,System.Threading.CancellationToken)">
- <summary>
- 在【主库】执行,ExecuteScalarAsync("select 1 from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <param name="cancellationToken"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.QueryAsync``1(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
- <summary>
- 执行SQL返回对象集合,QueryAsync<User>("select * from user where age > @age", new SqlParameter { ParameterName = "age", Value = 25 })
- </summary>
- <typeparam name="T"></typeparam>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <param name="cancellationToken"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.QueryAsync``1(System.String,System.Object,System.Threading.CancellationToken)">
- <summary>
- 执行SQL返回对象集合,QueryAsync<User>("select * from user where age > @age", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <typeparam name="T"></typeparam>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <param name="cancellationToken"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.QueryAsync``2(System.Data.CommandType,System.String,System.Data.Common.DbParameter[],System.Threading.CancellationToken)">
- <summary>
- 执行SQL返回对象集合,Query<User>("select * from user where age > @age; select * from address", new SqlParameter { ParameterName = "age", Value = 25 })
- </summary>
- <typeparam name="T1"></typeparam>
- <typeparam name="T2"></typeparam>
- <param name="cmdType"></param>
- <param name="cmdText"></param>
- <param name="cmdParms"></param>
- <param name="cancellationToken"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IAdo.QueryAsync``2(System.String,System.Object,System.Threading.CancellationToken)">
- <summary>
- 执行SQL返回对象集合,Query<User, Address>("select * from user where age > @age; select * from address", new { age = 25 })<para></para>
- 提示:parms 参数还可以传 Dictionary<string, object>
- </summary>
- <typeparam name="T1"></typeparam>
- <typeparam name="T2"></typeparam>
- <param name="cmdText"></param>
- <param name="parms"></param>
- <param name="cancellationToken"></param>
- <returns></returns>
- </member>
- <member name="E:FreeSql.IAop.ParseExpression">
- <summary>
- 可自定义解析表达式
- </summary>
- </member>
- <member name="E:FreeSql.IAop.ConfigEntity">
- <summary>
- 自定义实体的配置,方便和多个 ORM 共同使用
- </summary>
- </member>
- <member name="E:FreeSql.IAop.ConfigEntityProperty">
- <summary>
- 自定义实体的属性配置,方便和多个 ORM 共同使用
- </summary>
- </member>
- <member name="E:FreeSql.IAop.CurdBefore">
- <summary>
- 增删查改,执行命令之前触发
- </summary>
- </member>
- <member name="E:FreeSql.IAop.CurdAfter">
- <summary>
- 增删查改,执行命令完成后触发
- </summary>
- </member>
- <member name="E:FreeSql.IAop.SyncStructureBefore">
- <summary>
- CodeFirst迁移,执行之前触发
- </summary>
- </member>
- <member name="E:FreeSql.IAop.SyncStructureAfter">
- <summary>
- CodeFirst迁移,执行完成触发
- </summary>
- </member>
- <member name="E:FreeSql.IAop.AuditValue">
- <summary>
- Insert/Update自动值处理
- </summary>
- </member>
- <member name="E:FreeSql.IAop.AuditDataReader">
- <summary>
- ADO.NET DataReader 拦截
- </summary>
- </member>
- <member name="E:FreeSql.IAop.CommandBefore">
- <summary>
- 监视数据库命令对象(执行前,调试)
- </summary>
- </member>
- <member name="E:FreeSql.IAop.CommandAfter">
- <summary>
- 监视数据库命令对象(执行后,用于监视执行性能)
- </summary>
- </member>
- <member name="E:FreeSql.IAop.TraceBefore">
- <summary>
- 跟踪开始
- </summary>
- </member>
- <member name="E:FreeSql.IAop.TraceAfter">
- <summary>
- 跟踪结束
- </summary>
- </member>
- <member name="P:FreeSql.Aop.ParseExpressionEventArgs.FreeParse">
- <summary>
- 内置解析功能,可辅助您进行解析
- </summary>
- </member>
- <member name="P:FreeSql.Aop.ParseExpressionEventArgs.Expression">
- <summary>
- 需要您解析的表达式
- </summary>
- </member>
- <member name="P:FreeSql.Aop.ParseExpressionEventArgs.Result">
- <summary>
- 解析后的内容
- </summary>
- </member>
- <member name="P:FreeSql.Aop.ConfigEntityEventArgs.EntityType">
- <summary>
- 实体类型
- </summary>
- </member>
- <member name="P:FreeSql.Aop.ConfigEntityEventArgs.ModifyResult">
- <summary>
- 实体配置
- </summary>
- </member>
- <member name="P:FreeSql.Aop.ConfigEntityEventArgs.ModifyIndexResult">
- <summary>
- 索引配置
- </summary>
- </member>
- <member name="P:FreeSql.Aop.ConfigEntityPropertyEventArgs.EntityType">
- <summary>
- 实体类型
- </summary>
- </member>
- <member name="P:FreeSql.Aop.ConfigEntityPropertyEventArgs.Property">
- <summary>
- 实体的属性
- </summary>
- </member>
- <member name="P:FreeSql.Aop.ConfigEntityPropertyEventArgs.ModifyResult">
- <summary>
- 实体的属性配置
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdBeforeEventArgs.Identifier">
- <summary>
- 标识符,可将 CurdBefore 与 CurdAfter 进行匹配
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdBeforeEventArgs.CurdType">
- <summary>
- 操作类型
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdBeforeEventArgs.EntityType">
- <summary>
- 实体类型
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdBeforeEventArgs.Table">
- <summary>
- 实体类型的元数据
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdBeforeEventArgs.Sql">
- <summary>
- 执行的 SQL
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdBeforeEventArgs.DbParms">
- <summary>
- 参数化命令
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdBeforeEventArgs.States">
- <summary>
- 状态数据,可与 CurdAfter 共享
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdAfterEventArgs.Exception">
- <summary>
- 发生的错误
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdAfterEventArgs.ExecuteResult">
- <summary>
- 执行SQL命令,返回的结果
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdAfterEventArgs.ElapsedTicks">
- <summary>
- 耗时(单位:Ticks)
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CurdAfterEventArgs.ElapsedMilliseconds">
- <summary>
- 耗时(单位:毫秒)
- </summary>
- </member>
- <member name="P:FreeSql.Aop.SyncStructureBeforeEventArgs.Identifier">
- <summary>
- 标识符,可将 SyncStructureBeforeEventArgs 与 SyncStructureAfterEventArgs 进行匹配
- </summary>
- </member>
- <member name="P:FreeSql.Aop.SyncStructureBeforeEventArgs.EntityTypes">
- <summary>
- 实体类型
- </summary>
- </member>
- <member name="P:FreeSql.Aop.SyncStructureBeforeEventArgs.States">
- <summary>
- 状态数据,可与 SyncStructureAfter 共享
- </summary>
- </member>
- <member name="P:FreeSql.Aop.SyncStructureAfterEventArgs.Sql">
- <summary>
- 执行的 SQL
- </summary>
- </member>
- <member name="P:FreeSql.Aop.SyncStructureAfterEventArgs.Exception">
- <summary>
- 发生的错误
- </summary>
- </member>
- <member name="P:FreeSql.Aop.SyncStructureAfterEventArgs.ElapsedTicks">
- <summary>
- 耗时(单位:Ticks)
- </summary>
- </member>
- <member name="P:FreeSql.Aop.SyncStructureAfterEventArgs.ElapsedMilliseconds">
- <summary>
- 耗时(单位:毫秒)
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditValueEventArgs.AuditValueType">
- <summary>
- 类型
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditValueEventArgs.Column">
- <summary>
- 属性列的元数据
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditValueEventArgs.Property">
- <summary>
- 反射的属性信息
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditValueEventArgs.Value">
- <summary>
- 获取实体的属性值,也可以设置实体的属性新值
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditValueEventArgs.Object">
- <summary>
- 实体对象
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditValueEventArgs.ObjectAuditBreak">
- <summary>
- 中断实体对象审计<para></para>
- false: 每个实体对象的属性都会审计(默认)<para></para>
- true: 每个实体对象只审计一次
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditDataReaderEventArgs.DataReader">
- <summary>
- ADO.NET 数据流读取对象
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditDataReaderEventArgs.Index">
- <summary>
- DataReader 对应的 Index 位置
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditDataReaderEventArgs.Property">
- <summary>
- DataReader 对应的 PropertyInfo
- </summary>
- </member>
- <member name="P:FreeSql.Aop.AuditDataReaderEventArgs.Value">
- <summary>
- 获取 Index 对应的值,也可以设置拦截的新值
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CommandBeforeEventArgs.Identifier">
- <summary>
- 标识符,可将 CommandBefore 与 CommandAfter 进行匹配
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CommandBeforeEventArgs.States">
- <summary>
- 状态数据,可与 CommandAfter 共享
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CommandAfterEventArgs.Exception">
- <summary>
- 发生的错误
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CommandAfterEventArgs.Log">
- <summary>
- 执行SQL命令,返回的结果
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CommandAfterEventArgs.ElapsedTicks">
- <summary>
- 耗时(单位:Ticks)
- </summary>
- </member>
- <member name="P:FreeSql.Aop.CommandAfterEventArgs.ElapsedMilliseconds">
- <summary>
- 耗时(单位:毫秒)
- </summary>
- </member>
- <member name="P:FreeSql.Aop.TraceBeforeEventArgs.Identifier">
- <summary>
- 标识符,可将 TraceBeforeEventArgs 与 TraceAfterEventArgs 进行匹配
- </summary>
- </member>
- <member name="P:FreeSql.Aop.TraceBeforeEventArgs.States">
- <summary>
- 状态数据,可与 TraceAfter 共享
- </summary>
- </member>
- <member name="P:FreeSql.Aop.TraceAfterEventArgs.Remark">
- <summary>
- 备注
- </summary>
- </member>
- <member name="P:FreeSql.Aop.TraceAfterEventArgs.Exception">
- <summary>
- 发生的错误
- </summary>
- </member>
- <member name="P:FreeSql.Aop.TraceAfterEventArgs.ElapsedTicks">
- <summary>
- 耗时(单位:Ticks)
- </summary>
- </member>
- <member name="P:FreeSql.Aop.TraceAfterEventArgs.ElapsedMilliseconds">
- <summary>
- 耗时(单位:毫秒)
- </summary>
- </member>
- <member name="P:FreeSql.ICodeFirst.IsAutoSyncStructure">
- <summary>
- 【开发环境必备】自动同步实体结构到数据库,程序运行中检查实体表是否存在,然后创建或修改
- </summary>
- </member>
- <member name="P:FreeSql.ICodeFirst.IsSyncStructureToLower">
- <summary>
- 转小写同步结构,适用 PostgreSQL
- </summary>
- </member>
- <member name="P:FreeSql.ICodeFirst.IsSyncStructureToUpper">
- <summary>
- 转大写同步结构,适用 Oracle/达梦/人大金仓
- </summary>
- </member>
- <member name="P:FreeSql.ICodeFirst.IsConfigEntityFromDbFirst">
- <summary>
- 将数据库的主键、自增、索引设置导入,适用 DbFirst 模式,无须在实体类型上设置 [Column(IsPrimary)] 或者 ConfigEntity。此功能目前可用于 mysql/sqlserver/postgresql/oracle。<para></para>
- 本功能会影响 IFreeSql 首次访问的速度。<para></para>
- 若使用 CodeFirst 创建索引后,又直接在数据库上建了索引,若无本功能下一次 CodeFirst 迁移时数据库上创建的索引将被删除
- </summary>
- </member>
- <member name="P:FreeSql.ICodeFirst.IsNoneCommandParameter">
- <summary>
- 不使用命令参数化执行,针对 Insert/Update
- </summary>
- </member>
- <member name="P:FreeSql.ICodeFirst.IsGenerateCommandParameterWithLambda">
- <summary>
- 是否生成命令参数化执行,针对 lambda 表达式解析<para></para>
- 注意:常量不会参数化,变量才会做参数化<para></para>
- var id = 100;
- fsql.Select<T>().Where(a => a.id == id) 会参数化<para></para>
- fsql.Select<T>().Where(a => a.id == 100) 不会参数化
- </summary>
- </member>
- <member name="P:FreeSql.ICodeFirst.IsLazyLoading">
- <summary>
- 延时加载导航属性对象,导航属性需要声明 virtual
- </summary>
- </member>
- <member name="M:FreeSql.ICodeFirst.GetComparisonDDLStatements``1">
- <summary>
- 将实体类型与数据库对比,返回DDL语句
- </summary>
- <typeparam name="TEntity"></typeparam>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ICodeFirst.GetComparisonDDLStatements(System.Type[])">
- <summary>
- 将实体类型集合与数据库对比,返回DDL语句
- </summary>
- <param name="entityTypes">实体类型</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ICodeFirst.GetComparisonDDLStatements(System.Type,System.String)">
- <summary>
- 将实体类型与数据库对比,返回DDL语句(指定表名)
- </summary>
- <param name="entityType">实体类型</param>
- <param name="tableName">指定表名对比</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ICodeFirst.SyncStructure``1">
- <summary>
- 同步实体类型到数据库<para></para>
- 注意:生产环境中谨慎使用
- </summary>
- <typeparam name="TEntity"></typeparam>
- </member>
- <member name="M:FreeSql.ICodeFirst.SyncStructure(System.Type[])">
- <summary>
- 同步实体类型集合到数据库<para></para>
- 注意:生产环境中谨慎使用
- </summary>
- <param name="entityTypes"></param>
- </member>
- <member name="M:FreeSql.ICodeFirst.SyncStructure(System.Type,System.String,System.Boolean)">
- <summary>
- 同步实体类型到数据库(指定表名)<para></para>
- 注意:生产环境中谨慎使用
- </summary>
- <param name="entityType">实体类型</param>
- <param name="tableName">指定表名对比</param>
- <param name="isForceSync">强制同步结构,无视缓存每次都同步</param>
- </member>
- <member name="M:FreeSql.ICodeFirst.GetDbInfo(System.Type)">
- <summary>
- 根据 System.Type 获取数据库信息
- </summary>
- <param name="type"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ICodeFirst.ConfigEntity``1(System.Action{FreeSql.DataAnnotations.TableFluent{``0}})">
- <summary>
- FreeSql FluentApi 配置实体,方法名与特性相同
- </summary>
- <typeparam name="T"></typeparam>
- <param name="entity"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ICodeFirst.ConfigEntity(System.Type,System.Action{FreeSql.DataAnnotations.TableFluent})">
- <summary>
- FreeSql FluentApi 配置实体,方法名与特性相同
- </summary>
- <param name="type"></param>
- <param name="entity"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.ICodeFirst.GetConfigEntity(System.Type)">
- <summary>
- 获取 FreeSql FluentApi 配置实体的元数据
- </summary>
- <param name="type"></param>
- <returns>未使用ConfigEntity配置时,返回null</returns>
- </member>
- <member name="M:FreeSql.ICodeFirst.GetTableByEntity(System.Type)">
- <summary>
- 获取实体类核心配置
- </summary>
- <param name="type"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetDatabases">
- <summary>
- 获取所有数据库
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetTablesByDatabase(System.String[])">
- <summary>
- 获取指定数据库的表信息,包括表、列详情、主键、唯一键、索引、外键、备注
- </summary>
- <param name="database"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetTableByName(System.String,System.Boolean)">
- <summary>
- 获取指定单表信息,包括列详情、主键、唯一键、索引、备注
- </summary>
- <param name="name">表名,如:dbo.table1</param>
- <param name="ignoreCase">是否忽略大小写</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.ExistsTable(System.String,System.Boolean)">
- <summary>
- 判断表是否存在
- </summary>
- <param name="name">表名,如:dbo.table1</param>
- <param name="ignoreCase">是否忽略大小写</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetDbType(FreeSql.DatabaseModel.DbColumnInfo)">
- <summary>
- 获取数据库枚举类型int值
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetCsConvert(FreeSql.DatabaseModel.DbColumnInfo)">
- <summary>
- 获取c#转换,(int)、(long)
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetCsTypeValue(FreeSql.DatabaseModel.DbColumnInfo)">
- <summary>
- 获取c#值
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetCsType(FreeSql.DatabaseModel.DbColumnInfo)">
- <summary>
- 获取c#类型,int、long
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetCsTypeInfo(FreeSql.DatabaseModel.DbColumnInfo)">
- <summary>
- 获取c#类型对象
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetDataReaderMethod(FreeSql.DatabaseModel.DbColumnInfo)">
- <summary>
- 获取ado.net读取方法, GetBoolean、GetInt64
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetCsStringify(FreeSql.DatabaseModel.DbColumnInfo)">
- <summary>
- 序列化
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetCsParse(FreeSql.DatabaseModel.DbColumnInfo)">
- <summary>
- 反序列化
- </summary>
- <param name="column"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.IDbFirst.GetEnumsByDatabase(System.String[])">
- <summary>
- 获取数据库枚举类型,适用 PostgreSQL
- </summary>
- <param name="database"></param>
- <returns></returns>
- </member>
- <member name="F:FreeSql.Internal.BaseDiyMemberExpression._lambdaParameter">
- <summary>
- 临时 LambdaExpression.Parameter
- </summary>
- </member>
- <member name="M:FreeSql.Internal.CommonProvider.InsertOrUpdateProvider`1.SplitSourceByIdentityValueIsNull(System.Collections.Generic.List{`0})">
- <summary>
- 如果实体类有自增属性,分成两个 List,有值的Item1 merge,无值的Item2 insert
- </summary>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.CommonProvider.InsertProvider`1.IgnoreCanInsert">
- <summary>
- AsType, Ctor, ClearData 三处地方需要重新加载
- </summary>
- </member>
- <member name="M:FreeSql.Internal.CommonProvider.UpdateProvider`1.IgnoreCanUpdate">
- <summary>
- AsType, Ctor, ClearData 三处地方需要重新加载
- </summary>
- </member>
- <member name="M:FreeSql.Internal.CommonUtils.GetPropertyCommentByDescriptionAttribute(System.Type)">
- <summary>
- 动态读取 DescriptionAttribute 注释文本
- </summary>
- <param name="type"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.CommonUtils.GetProperyCommentBySummary(System.Type)">
- <summary>
- 通过属性的注释文本,通过 xml 读取
- </summary>
- <param name="type"></param>
- <returns>Dict:key=属性名,value=注释</returns>
- </member>
- <member name="P:FreeSql.Internal.DbUpdateVersionException.Table">
- <summary>
- 更新实体的元数据
- </summary>
- </member>
- <member name="P:FreeSql.Internal.DbUpdateVersionException.Sql">
- <summary>
- 执行更新的 SQL
- </summary>
- </member>
- <member name="P:FreeSql.Internal.DbUpdateVersionException.DbParams">
- <summary>
- 执行更新命令的参数
- </summary>
- </member>
- <member name="P:FreeSql.Internal.DbUpdateVersionException.Affrows">
- <summary>
- 执行更新命令影响的行
- </summary>
- </member>
- <member name="P:FreeSql.Internal.DbUpdateVersionException.EntitySourceCount">
- <summary>
- 更新的实体数量
- </summary>
- </member>
- <member name="P:FreeSql.Internal.DbUpdateVersionException.EntitySource">
- <summary>
- 更新的实体
- </summary>
- </member>
- <member name="T:FreeSql.Internal.MappingPriorityType">
- <summary>
- 映射优先级,默认: Attribute > FluentApi > Aop
- </summary>
- </member>
- <member name="F:FreeSql.Internal.MappingPriorityType.Attribute">
- <summary>
- 实体特性<para></para>
- [Table(Name = "tabname")]<para></para>
- [Column(Name = "table_id")]
- </summary>
- </member>
- <member name="F:FreeSql.Internal.MappingPriorityType.FluentApi">
- <summary>
- 流式接口<para></para>
- fsql.CodeFirst.ConfigEntity(a => a.Name("tabname"))<para></para>
- fsql.CodeFirst.ConfigEntity(a => a.Property(b => b.Id).Name("table_id"))
- </summary>
- </member>
- <member name="F:FreeSql.Internal.MappingPriorityType.Aop">
- <summary>
- AOP 特性 https://github.com/dotnetcore/FreeSql/wiki/AOP<para></para>
- fsql.Aop.ConfigEntity += (_, e) => e.ModifyResult.Name = "public.tabname";<para></para>
- fsql.Aop.ConfigEntityProperty += (_, e) => e.ModifyResult.Name = "table_id";<para></para>
- </summary>
- </member>
- <member name="F:FreeSql.Internal.NameConvertType.None">
- <summary>
- 不进行任何处理
- </summary>
- </member>
- <member name="F:FreeSql.Internal.NameConvertType.PascalCaseToUnderscore">
- <summary>
- 将帕斯卡命名字符串转换为下划线分隔字符串
- <para></para>
- BigApple -> Big_Apple
- </summary>
- </member>
- <member name="F:FreeSql.Internal.NameConvertType.PascalCaseToUnderscoreWithUpper">
- <summary>
- 将帕斯卡命名字符串转换为下划线分隔字符串,且转换为全大写
- <para></para>
- BigApple -> BIG_APPLE
- </summary>
- </member>
- <member name="F:FreeSql.Internal.NameConvertType.PascalCaseToUnderscoreWithLower">
- <summary>
- 将帕斯卡命名字符串转换为下划线分隔字符串,且转换为全小写
- <para></para>
- BigApple -> big_apple
- </summary>
- </member>
- <member name="F:FreeSql.Internal.NameConvertType.ToUpper">
- <summary>
- 将字符串转换为大写
- <para></para>
- BigApple -> BIGAPPLE
- </summary>
- </member>
- <member name="F:FreeSql.Internal.NameConvertType.ToLower">
- <summary>
- 将字符串转换为小写
- <para></para>
- BigApple -> bigapple
- </summary>
- </member>
- <member name="M:FreeSql.Internal.GlobalFilter.Apply``1(System.String,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean)">
- <summary>
- 创建一个过滤器<para></para>
- 提示:在 Lambda 中判断登陆身份,请参考资料 AsyncLocal
- </summary>
- <typeparam name="TEntity"></typeparam>
- <param name="name">名字</param>
- <param name="where">表达式</param>
- <param name="before">条件在最前面</param>
- <returns></returns>
- </member>
- <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)">
- <summary>
- 创建一个动态过滤器,当 condition 返回值为 true 时才生效<para></para>
- 场景:当登陆身份是管理员,则过滤条件不生效<para></para>
- 提示:在 Lambda 中判断登陆身份,请参考资料 AsyncLocal
- </summary>
- <typeparam name="TEntity"></typeparam>
- <param name="name">名字</param>
- <param name="condition">委托,返回值为 true 时才生效</param>
- <param name="where">表达式</param>
- <param name="before">条件在最前面</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.GlobalFilter.ApplyOnly``1(System.String,System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean)">
- <summary>
- 创建一个过滤器(实体类型 属于指定 TEntity 才会生效)<para></para>
- 提示:在 Lambda 中判断登陆身份,请参考资料 AsyncLocal
- </summary>
- <typeparam name="TEntity"></typeparam>
- <param name="name">名字</param>
- <param name="where">表达式</param>
- <param name="before">条件在最前面</param>
- <returns></returns>
- </member>
- <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)">
- <summary>
- 创建一个过滤器(实体类型 属于指定 TEntity 才会生效)<para></para>
- 场景:当登陆身份是管理员,则过滤条件不生效<para></para>
- 提示:在 Lambda 中判断登陆身份,请参考资料 AsyncLocal
- </summary>
- <typeparam name="TEntity"></typeparam>
- <param name="name">名字</param>
- <param name="condition">委托,返回值为 true 时才生效</param>
- <param name="where">表达式</param>
- <param name="before">条件在最前面</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.Model.AdoCommandFluent.WithConnection(System.Data.Common.DbConnection)">
- <summary>
- 使用指定 DbConnection 连接执行
- </summary>
- <param name="conn"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.Model.AdoCommandFluent.WithTransaction(System.Data.Common.DbTransaction)">
- <summary>
- 使用指定 DbTransaction 事务执行
- </summary>
- <param name="tran"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.Model.AdoCommandFluent.WithParameter(System.String,System.Object,System.Action{System.Data.Common.DbParameter})">
- <summary>
- 增加参数化对象
- </summary>
- <param name="parameterName">参数名</param>
- <param name="value">参数值</param>
- <param name="modify">修改本次创建好的参数化对象,比如将 parameterName 参数修改为 Output 类型</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.Model.AdoCommandFluent.CommandType(System.Data.CommandType)">
- <summary>
- 设置执行的命令类型,SQL文本、或存储过程
- </summary>
- <param name="commandType"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.Model.AdoCommandFluent.CommandTimeout(System.Int32)">
- <summary>
- 设置命令执行超时(秒)
- </summary>
- <param name="commandTimeout"></param>
- <returns></returns>
- </member>
- <member name="T:FreeSql.Internal.Model.BasePagingInfo">
- <summary>
- 分页信息
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.BasePagingInfo.PageNumber">
- <summary>
- 第几页,从1开始
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.BasePagingInfo.PageSize">
- <summary>
- 每页多少
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.BasePagingInfo.Count">
- <summary>
- 查询的记录数量
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.BatchProgressStatus`1.Data">
- <summary>
- 当前操作的数据
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.BatchProgressStatus`1.Current">
- <summary>
- 当前批次
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.BatchProgressStatus`1.Total">
- <summary>
- 总批次数量
- </summary>
- </member>
- <member name="M:FreeSql.Internal.Model.ColumnInfo.GetDbValue(System.Object)">
- <summary>
- 获取 obj.CsName 属性值 MapType 之后的数据库值
- </summary>
- <param name="obj"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.Model.ColumnInfo.GetValue(System.Object)">
- <summary>
- 获取 obj.CsName 属性原始值(不经过 MapType)
- </summary>
- <param name="obj"></param>
- </member>
- <member name="M:FreeSql.Internal.Model.ColumnInfo.SetValue(System.Object,System.Object)">
- <summary>
- 设置 obj.CsName 属性值
- </summary>
- <param name="obj"></param>
- <param name="val"></param>
- </member>
- <member name="T:FreeSql.Internal.Model.DynamicFilterInfo">
- <summary>
- 动态过滤条件
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Field">
- <summary>
- 属性名:Name<para></para>
- 导航属性:Parent.Name<para></para>
- 多表:b.Name<para></para>
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Operator">
- <summary>
- 操作符
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Value">
- <summary>
- 值
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Logic">
- <summary>
- Filters 下的逻辑运算符
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.DynamicFilterInfo.Filters">
- <summary>
- 子过滤条件,它与当前的逻辑关系是 And<para></para>
- 注意:当前 Field 可以留空
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Contains">
- <summary>
- like
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Equal">
- <summary>
- =<para></para>
- Equal/Equals/Eq 效果相同
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Equals">
- <summary>
- =<para></para>
- Equal/Equals/Eq 效果相同
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Eq">
- <summary>
- =<para></para>
- Equal/Equals/Eq 效果相同
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.NotEqual">
- <summary>
- <>
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.GreaterThan">
- <summary>
- >
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.GreaterThanOrEqual">
- <summary>
- >=
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.LessThan">
- <summary>
- <
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.LessThanOrEqual">
- <summary>
- <=
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Range">
- <summary>
- >= and <<para></para>
- 此时 Value 的值格式为逗号分割:value1,value2 或者数组
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.DateRange">
- <summary>
- >= and <<para></para>
- 此时 Value 的值格式为逗号分割:date1,date2 或者数组<para></para>
- 这是专门为日期范围查询定制的操作符,它会处理 date2 + 1,比如:<para></para>
- 当 date2 选择的是 2020-05-30,那查询的时候是 < 2020-05-31<para></para>
- 当 date2 选择的是 2020-05,那查询的时候是 < 2020-06<para></para>
- 当 date2 选择的是 2020,那查询的时候是 < 2021<para></para>
- 当 date2 选择的是 2020-05-30 12,那查询的时候是 < 2020-05-30 13<para></para>
- 当 date2 选择的是 2020-05-30 12:30,那查询的时候是 < 2020-05-30 12:31<para></para>
- 并且 date2 只支持以上 5 种格式 (date1 没有限制)
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Any">
- <summary>
- in (1,2,3)<para></para>
- 此时 Value 的值格式为逗号分割:value1,value2,value3... 或者数组
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.NotAny">
- <summary>
- not in (1,2,3)<para></para>
- 此时 Value 的值格式为逗号分割:value1,value2,value3... 或者数组
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.DynamicFilterOperator.Custom">
- <summary>
- 自定义解析,此时 Field 为反射信息,Value 为静态方法的参数(string/Expression)<para></para>
- 示范:{ Operator: "Custom", Field: "RawSql webapp1.DynamicFilterCustom,webapp1", Value: "(id,name) in ((1,'k'),(2,'m'))" }<para></para>
- 注意:使用者自己承担【注入风险】<para></para>
- 静态方法定义示范:<para></para>
- namespace webapp1<para></para>
- {<para></para>
- public class DynamicFilterCustom<para></para>
- {<para></para>
- [DynamicFilterCustom]<para></para>
- public static string RawSql(object sender, string value) => value;<para></para>
- }<para></para>
- }<para></para>
- </summary>
- </member>
- <member name="T:FreeSql.Internal.Model.DynamicFilterCustomAttribute">
- <summary>
- 授权 DynamicFilter 支持 Custom 自定义解析
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.FetchCallbackArgs`1.IsBreak">
- <summary>
- 是否放弃继续读取
- </summary>
- </member>
- <member name="P:FreeSql.Internal.Model.TableRef.RefMiddleEntityType">
- <summary>
- 中间表,多对多
- </summary>
- </member>
- <member name="F:FreeSql.Internal.Model.TableRefType.PgArrayToMany">
- <summary>
- PostgreSQL 数组类型专属功能<para></para>
- 方式一:select * from Role where Id in (RoleIds)<para></para>
- class User {<para></para>
- ____public int[] RoleIds { get; set; }<para></para>
- ____[Navigate(nameof(RoleIds))]<para></para>
- ____public List<Role> Roles { get; set; }<para></para>
- }<para></para>
- 方式二:select * from User where RoleIds @> Id<para></para>
- class Role {<para></para>
- ____public int Id { get; set; }<para></para>
- ____[Navigate(nameof(User.RoleIds))]<para></para>
- ____public List<User> Users { get; set; }<para></para>
- }<para></para>
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.IsAvailable">
- <summary>
- 是否可用
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.UnavailableException">
- <summary>
- 不可用错误
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.UnavailableTime">
- <summary>
- 不可用时间
- </summary>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IObjectPool`1.SetUnavailable(System.Exception,System.DateTime)">
- <summary>
- 将对象池设置为不可用,后续 Get/GetAsync 均会报错,同时启动后台定时检查服务恢复可用
- </summary>
- <param name="exception"></param>
- <param name="lastGetTime"></param>
- <returns>由【可用】变成【不可用】时返回true,否则返回false</returns>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.Statistics">
- <summary>
- 统计对象池中的对象
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IObjectPool`1.StatisticsFullily">
- <summary>
- 统计对象池中的对象(完整)
- </summary>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IObjectPool`1.Get(System.Nullable{System.TimeSpan})">
- <summary>
- 获取资源
- </summary>
- <param name="timeout">超时</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IObjectPool`1.GetAsync">
- <summary>
- 获取资源
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IObjectPool`1.Return(FreeSql.Internal.ObjectPool.Object{`0},System.Boolean)">
- <summary>
- 使用完毕后,归还资源
- </summary>
- <param name="obj">对象</param>
- <param name="isReset">是否重新创建</param>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.Name">
- <summary>
- 名称
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.PoolSize">
- <summary>
- 池容量
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.SyncGetTimeout">
- <summary>
- 默认获取超时设置
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.IdleTimeout">
- <summary>
- 空闲时间,获取时若超出,则重新创建
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.AsyncGetCapacity">
- <summary>
- 异步获取排队队列大小,小于等于0不生效
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.IsThrowGetTimeoutException">
- <summary>
- 获取超时后,是否抛出异常
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.IsAutoDisposeWithSystem">
- <summary>
- 监听 AppDomain.CurrentDomain.ProcessExit/Console.CancelKeyPress 事件自动释放
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.CheckAvailableInterval">
- <summary>
- 后台定时检查可用性间隔秒数
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.IPolicy`1.Weight">
- <summary>
- 权重
- </summary>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnCreate">
- <summary>
- 对象池的对象被创建时
- </summary>
- <returns>返回被创建的对象</returns>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnDestroy(`0)">
- <summary>
- 销毁对象
- </summary>
- <param name="obj">资源对象</param>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnGetTimeout">
- <summary>
- 从对象池获取对象超时的时候触发,通过该方法统计
- </summary>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnGet(FreeSql.Internal.ObjectPool.Object{`0})">
- <summary>
- 从对象池获取对象成功的时候触发,通过该方法统计或初始化对象
- </summary>
- <param name="obj">资源对象</param>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnGetAsync(FreeSql.Internal.ObjectPool.Object{`0})">
- <summary>
- 从对象池获取对象成功的时候触发,通过该方法统计或初始化对象
- </summary>
- <param name="obj">资源对象</param>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnReturn(FreeSql.Internal.ObjectPool.Object{`0})">
- <summary>
- 归还对象给对象池的时候触发
- </summary>
- <param name="obj">资源对象</param>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnCheckAvailable(FreeSql.Internal.ObjectPool.Object{`0})">
- <summary>
- 检查可用性
- </summary>
- <param name="obj">资源对象</param>
- <returns></returns>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnAvailable">
- <summary>
- 事件:可用时触发
- </summary>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.IPolicy`1.OnUnavailable">
- <summary>
- 事件:不可用时触发
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.Object`1.Pool">
- <summary>
- 所属对象池
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.Object`1.Id">
- <summary>
- 在对象池中的唯一标识
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.Object`1.Value">
- <summary>
- 资源对象
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.Object`1.GetTimes">
- <summary>
- 被获取的总次数
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.Object`1.LastGetTime">
- 最后获取时的时间
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.Object`1.LastReturnTime">
- <summary>
- 最后归还时的时间
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.Object`1.CreateTime">
- <summary>
- 创建时间
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.Object`1.LastGetThreadId">
- <summary>
- 最后获取时的线程id
- </summary>
- </member>
- <member name="P:FreeSql.Internal.ObjectPool.Object`1.LastReturnThreadId">
- <summary>
- 最后归还时的线程id
- </summary>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.Object`1.ResetValue">
- <summary>
- 重置 Value 值
- </summary>
- </member>
- <member name="T:FreeSql.Internal.ObjectPool.ObjectPool`1">
- <summary>
- 对象池管理类
- </summary>
- <typeparam name="T">对象类型</typeparam>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.ObjectPool`1.CheckAvailable(System.Int32)">
- <summary>
- 后台定时检查可用性
- </summary>
- <param name="interval"></param>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.ObjectPool`1.#ctor(System.Int32,System.Func{`0},System.Action{FreeSql.Internal.ObjectPool.Object{`0}})">
- <summary>
- 创建对象池
- </summary>
- <param name="poolsize">池大小</param>
- <param name="createObject">池内对象的创建委托</param>
- <param name="onGetObject">获取池内对象成功后,进行使用前操作</param>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.ObjectPool`1.#ctor(FreeSql.Internal.ObjectPool.IPolicy{`0})">
- <summary>
- 创建对象池
- </summary>
- <param name="policy">策略</param>
- </member>
- <member name="M:FreeSql.Internal.ObjectPool.ObjectPool`1.GetFree(System.Boolean)">
- <summary>
- 获取可用资源,或创建资源
- </summary>
- <returns></returns>
- </member>
- <member name="F:FreeSql.Internal.Utils.ChacheTableEntityFactory">
- <summary>
- 用于解决多实例情况下的静态集合缓存问题
- </summary>
- </member>
- <member name="T:FreeSql.CoreStrings">
- <summary>
- <para>
- String resources used in FreeSql exceptions, etc.
- </para>
- <para>
- These strings are exposed publicly for use by database providers and extensions.
- It is unusual for application code to need these strings.
- </para>
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Culture">
- <summary>
- 重写当前线程的 CurrentUICulture 属性,对
- 使用此强类型资源类的所有资源查找执行重写。
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.AsTable_PropertyName_FormatError(System.Object)">
- <summary>
- [Table(AsTable = "{asTable}")] 特性值格式错误
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.AsTable_PropertyName_NotDateTime(System.Object)">
- <summary>
- [Table(AsTable = xx)] 设置的属性名 {atmGroupsValue} 不是 DateTime 类型
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Available_Failed_Get_Resource(System.Object,System.Object)">
- <summary>
- {name}: Failed to get resource {statistics}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Available_Thrown_Exception(System.Object)">
- <summary>
- {name}: An exception needs to be thrown
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Bad_Expression_Format(System.Object)">
- <summary>
- 错误的表达式格式 {column}
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Before_Chunk_Cannot_Use_Select">
- <summary>
- Chunk 功能之前不可使用 Select
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Begin_Transaction_Then_ForUpdate">
- <summary>
- 安全起见,请务必在事务开启之后,再使用 ForUpdate
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Cannot_Be_NULL">
- <summary>
- 不能为 null
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Cannot_Be_NULL_Name(System.Object)">
- <summary>
- {name} 不能为 null
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Cannot_Match_Property(System.Object)">
- <summary>
- 无法匹配 {property}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Cannot_Resolve_ExpressionTree(System.Object)">
- <summary>
- {property} 无法解析为表达式树
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Check_UseConnectionString">
- <summary>
- 参数 masterConnectionString 不可为空,请检查 UseConnectionString
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Commit">
- <summary>
- 提交
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Connection_Failed_Switch_Servers">
- <summary>
- 连接失败,准备切换其他可用服务器
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Custom_Expression_ParsingError(System.Object)">
- <summary>
- 自定义表达式解析错误:类型 {exp3MethodDeclaringType} 需要定义 static ThreadLocal<ExpressionCallContext> 字段、字段、字段(重要三次提醒)
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Custom_Reflection_IsNotNull">
- <summary>
- Custom { 反射信息 }不能为空,格式:{ 静态方法名 }{ 空格 }{ 反射信息 }
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Custom_StaticMethodName_IsNotNull">
- <summary>
- Custom { 静态方法名 }不能为空,格式:{ 静态方法名 }{ 空格 }{ 反射信息 }
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Custom_StaticMethodName_NotSet_DynamicFilterCustom(System.Object)">
- <summary>
- Custom 对应的{{ 静态方法名 }}:{fiValueCustomArray} 未设置 [DynamicFilterCustomAttribute] 特性
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.CustomFieldSeparatedBySpaces">
- <summary>
- Custom 要求 Field 应该空格分割,并且长度为 2,格式:{ 静态方法名 }{ 空格 }{ 反射信息 }
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.DataType_AsType_Inconsistent(System.Object,System.Object)">
- <summary>
- 操作的数据类型({dataDisplayCsharp}) 与 AsType({tableTypeDisplayCsharp}) 不一致,请检查。
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.DateRange_Comma_Separateda_By2Char">
- <summary>
- DateRange 要求 Value 应该逗号分割,并且长度为 2
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.DateRange_DateFormat_yyyy">
- <summary>
- DateRange 要求 Value[1] 格式必须为:yyyy、yyyy-MM、yyyy-MM-dd、yyyy-MM-dd HH、yyyy、yyyy-MM-dd HH:mm
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.DbUpdateVersionException_RowLevelOptimisticLock(System.Object,System.Object)">
- <summary>
- 记录可能不存在,或者【行级乐观锁】版本过旧,更新数量{sourceCount},影响的行数{affrows}。
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Different_Number_SlaveConnectionString_SlaveWeights">
- <summary>
- SlaveConnectionString 数量与 SlaveWeights 不相同
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Duplicate_ColumnAttribute(System.Object)">
- <summary>
- ColumnAttribute.Name {colattrName} 重复存在,请检查(注意:不区分大小写)
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Duplicate_PropertyName(System.Object)">
- <summary>
- 属性名 {pName} 重复存在,请检查(注意:不区分大小写)
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Entity_Must_Primary_Key(System.Object,System.Object)">
- <summary>
- {function} 功能要求实体类 {tableCsName} 必须有主键
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Entity_MySQL_VersionsBelow8_NotSupport_Multiple_PrimaryKeys(System.Object)">
- <summary>
- {tbTypeFullName} 是父子关系,但是 MySql 8.0 以下版本中不支持组合多主键
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Entity_NotParentChild_Relationship(System.Object)">
- <summary>
- {tbTypeFullName} 不是父子关系,无法使用该功能
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.EspeciallySubquery_Cannot_Parsing">
- <summary>
- 这个特别的子查询不能解析
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Expression_Error_Use_ParameterExpression(System.Object)">
- <summary>
- 表达式错误,它的顶级对象不是 ParameterExpression:{exp}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Expression_Error_Use_Successive_MemberAccess_Type(System.Object)">
- <summary>
- 表达式错误,它不是连续的 MemberAccess 类型:{exp}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ExpressionTree_Convert_Type_Error(System.Object,System.Object,System.Object,System.Object)">
- <summary>
- ExpressionTree 转换类型错误,值({value}),类型({valueTypeFullName}),目标类型({typeFullName}),{exMessage}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Failed_SubTable_FieldValue(System.Object)">
- <summary>
- 未能解析分表字段值 {sqlWhere}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Functions_AsTable_NotImplemented(System.Object)">
- <summary>
- AsTable 未实现的功能 {asTable}
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.GBase_NotSupport_OtherThanCommas">
- <summary>
- GBase 暂时不支持逗号以外的分割符
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Generated_Same_SubTable(System.Object)">
- <summary>
- tableName:{tableName} 生成了相同的分表名
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.GetPrimarys_ParameterError_IsNotDictKey(System.Object)">
- <summary>
- GetPrimarys 传递的参数 "{primary}" 不正确,它不属于字典数据的键名
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Has_Specified_Cannot_Specified_Second(System.Object,System.Object)">
- <summary>
- 已经指定了 {first},不能再指定 {second}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Ignored_Check_Confirm_PublicGetSet(System.Object,System.Object)">
- <summary>
- {tb2DbName}.{mp2MemberName} 被忽略,请检查 IsIgnore 设置,确认 get/set 为 public
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Include_ParameterType_Error">
- <summary>
- Include 参数类型错误
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Include_ParameterType_Error_Use_IncludeMany">
- <summary>
- Include 参数类型错误,集合属性请使用 IncludeMany
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Include_ParameterType_Error_Use_MemberAccess">
- <summary>
- Include 参数类型错误,表达式类型应该为 MemberAccess
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.IncludeMany_NotValid_Navigation(System.Object,System.Object)">
- <summary>
- IncludeMany 类型 {tbTypeDisplayCsharp} 的属性 {collMemMemberName} 不是有效的导航属性,提示:IsIgnore = true 不会成为导航属性
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.IncludeMany_ParameterError_OnlyUseOneParameter(System.Object)">
- <summary>
- IncludeMany {navigateSelector} 参数错误,Select 只可以使用一个参数的方法,正确格式:.Select(t =>new TNavigate {{}})
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.IncludeMany_ParameterError_Select_ReturnConsistentType(System.Object,System.Object)">
- <summary>
- IncludeMany {navigateSelector} 参数错误,Select lambda参数返回值必须和 {collMemElementType} 类型一致
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.IncludeMany_ParameterType_Error_Use_MemberAccess">
- <summary>
- IncludeMany 参数1 类型错误,表达式类型应该为 MemberAccess
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.IncludeMany_ParameterTypeError(System.Object)">
- <summary>
- IncludeMany {navigateSelector} 参数类型错误,正确格式: a.collections.Take(1).Where(c =>c.aid == a.id).Select(a=> new TNavigate{{}})
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.InsertInto_No_Property_Selected(System.Object)">
- <summary>
- ISelect.InsertInto() 未选择属性: {displayCsharp}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.InsertInto_TypeError(System.Object)">
- <summary>
- ISelect.InsertInto() 类型错误: {displayCsharp}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.InsertOrUpdate_Must_Primary_Key(System.Object)">
- <summary>
- InsertOrUpdate 功能执行 merge into 要求实体类 {CsName} 必须有主键
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.InsertOrUpdate_NotSuport_Generic_UseEntity(System.Object)">
- <summary>
- InsertOrUpdate<>的泛型参数 不支持 {typeofT1},请传递您的实体类
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Install_FreeSql_Extensions_LazyLoading">
- <summary>
- 【延时加载】功能需要安装 FreeSql.Extensions.LazyLoading.dll,可前往 nuget 下载
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.LazyLoading_CompilationError(System.Object,System.Object,System.Object)">
- <summary>
- 【延时加载】{trytbTypeName} 编译错误:{exMessage}\r\n\r\n{cscode}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.LazyLoading_EntityMustDeclarePublic(System.Object)">
- <summary>
- 【延时加载】实体类型 {trytbTypeName} 必须声明为 public
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.ManyToMany_AsSelect_NotSupport_Sum_Avg_etc">
- <summary>
- ManyToMany 导航属性 .AsSelect() 暂时不可用于 Sum/Avg/Max/Min/First/ToOne/ToList 方法
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ManyToMany_NotFound_CorrespondingField(System.Object,System.Object,System.Object,System.Object,System.Object)">
- <summary>
- 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 在 {tbmidCsName} 中没有找到对应的字段,如:{midTypePropsTrytbName}{findtrytbPkCsName}、{midTypePropsTrytbName}_{findtrytbPkCsName}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_EntityMissing_PrimaryKey(System.Object,System.Object,System.Object)">
- <summary>
- 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,实体类型 {tbrefTypeName} 缺少主键标识,[Column(IsPrimary = true)]
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_EntityMustHas_NavigateCollection(System.Object,System.Object,System.Object)">
- <summary>
- 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,实体类型 {tbrefTypeName} 必须存在对应的 [Navigate(ManyToMany = x)] 集合属性
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_InconsistentType(System.Object,System.Object,System.Object,System.Object,System.Object,System.Object)">
- <summary>
- 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,{tbmidCsName}.{trycolCsName} 和 {trytbCsName}.{trytbPrimarysCsName} 类型不一致
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_IntermediateClass_ErrorMessage(System.Object,System.Object,System.Object,System.Object,System.Object)">
- <summary>
- 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,中间类 {tbmidCsName}.{midTypePropsTrytbName} 错误:{exMessage}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ManyToMany_ParsingError_IntermediateClass_NotManyToOne_OneToOne(System.Object,System.Object,System.Object,System.Object)">
- <summary>
- 【ManyToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,中间类 {tbmidCsName}.{midTypePropsTrytbName} 导航属性不是【ManyToOne】或【OneToOne】
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Mapping_Exception_HasNo_SamePropertyName(System.Object)">
- <summary>
- 映射异常:{name} 没有一个属性名相同
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.MasterPool_IsNull_UseTransaction">
- <summary>
- Ado.MasterPool 值为 null,该操作无法自启用事务,请显式传递【事务对象】解决
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Missing_FreeSqlProvider_Package(System.Object)">
- <summary>
- 缺少 FreeSql 数据库实现包:FreeSql.Provider.{Provider}.dll,可前往 nuget 下载
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Missing_FreeSqlProvider_Package_Reason(System.Object,System.Object)">
- <summary>
- 缺少 FreeSql 数据库实现包:{dll},可前往 nuget 下载;如果存在 {dll} 依然报错(原因是环境问题导致反射不到类型),请在 UseConnectionString/UseConnectionFactory 第三个参数手工传入 typeof({providerType})
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Navigation_Bind_Number_Different(System.Object,System.Object,System.Object,System.Object)">
- <summary>
- 导航属性 {trytbTypeName}.{pnvName} 特性 [Navigate] Bind 数目({bindColumnsCount}) 与 外部主键数目({tbrefPrimarysLength}) 不相同
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Navigation_Missing_AsSelect(System.Object,System.Object)">
- <summary>
- {tb2DbName}.{mp2MemberName} 导航属性集合忘了 .AsSelect() 吗?如果在 ToList(a => a.{mp2MemberName}) 中使用,请移步参考 IncludeMany 文档。
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Navigation_Missing_SetProperty(System.Object,System.Object)">
- <summary>
- 【导航属性】{trytbTypeDisplayCsharp}.{pName} 缺少 set 属性
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Navigation_NotFound_CorrespondingField(System.Object,System.Object,System.Object)">
- <summary>
- 导航属性 {trytbTypeName}.{pnvName} 没有找到对应的字段,如:{pnvName}{findtbrefPkCsName}、{pnvName}_{findtbrefPkCsName}。或者使用 [Navigate] 特性指定关系映射。
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Navigation_ParsingError_EntityMissingPrimaryKey(System.Object,System.Object,System.Object)">
- <summary>
- 导航属性 {trytbTypeName}.{pnvName} 解析错误,实体类型 {trytcTypeName} 缺少主键标识,[Column(IsPrimary = true)]
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Navigation_ParsingError_InconsistentType(System.Object,System.Object,System.Object,System.Object,System.Object,System.Object)">
- <summary>
- 导航属性 {trytbTypeName}.{pnvName} 解析错误,{trytbCsName}.{trycolCsName} 和 {tbrefCsName}.{tbrefPrimarysCsName} 类型不一致
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Navigation_ParsingError_NotFound_Property(System.Object,System.Object,System.Object,System.Object)">
- <summary>
- 导航属性 {trytbTypeName}.{pnvName} 特性 [Navigate] 解析错误,在 {tbrefTypeName} 未找到属性:{bi}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.NoPrimaryKey_UseSetDto(System.Object)">
- <summary>
- {tableTypeDisplayCsharp} 没有定义主键,无法使用 SetSource,请尝试 SetDto 或者 SetSource 指定临时主键
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.NoProperty_Defined">
- <summary>
- 没有定义属性
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Not_Implemented">
- <summary>
- 未实现
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Not_Implemented_Expression(System.Object)">
- <summary>
- 未实现函数表达式 {exp} 解析
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Not_Implemented_Expression_ParameterUseConstant(System.Object,System.Object)">
- <summary>
- 未实现函数表达式 {exp} 解析,参数 {expArguments} 必须为常量
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Not_Implemented_Expression_UseAsSelect(System.Object,System.Object,System.Object)">
- <summary>
- 未实现函数表达式 {exp} 解析,如果正在操作导航属性集合,请使用 .AsSelect().{exp3MethodName}({exp3ArgumentsCount})
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Not_Implemented_MemberAcess_Constant">
- <summary>
- 未实现 MemberAccess 下的 Constant
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Not_Implemented_Name(System.Object)">
- <summary>
- 未实现 {name}
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Not_Support">
- <summary>
- 不支持
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Not_Support_OrderByRandom(System.Object)">
- <summary>
- {dataType} 不支持 OrderByRandom 随机排序
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Not_Valid_Navigation_Property(System.Object)">
- <summary>
- {property} 不是有效的导航属性
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.NotFound_Column(System.Object,System.Object)">
- <summary>
- {dbName} 找不到列 {memberName}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.NotFound_CsName_Column(System.Object)">
- <summary>
- 找不到 {CsName} 对应的列
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.NotFound_Property(System.Object)">
- <summary>
- 找不到属性:{memberName}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.NotFound_PropertyName(System.Object)">
- <summary>
- 找不到属性名 {proto}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.NotFound_Reflection(System.Object)">
- <summary>
- Custom 找不到对应的{{ 反射信息 }}:{fiValueCustomArray}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.NotFound_Static_MethodName(System.Object)">
- <summary>
- Custom 找不到对应的{{ 静态方法名 }}:{fiValueCustomArray}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.NotFound_Table_Property_AsTable(System.Object)">
- <summary>
- [Table(AsTable = xx)] 设置的属性名 {atmGroupsValue} 不存在
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.NotSpecified_UseConnectionString_UseConnectionFactory">
- <summary>
- 未指定 UseConnectionString 或者 UseConnectionFactory
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ObjectPool_Get_Timeout(System.Object,System.Object,System.Object)">
- <summary>
- 【{policyName}】ObjectPool.{GetName}() timeout {totalSeconds} seconds, see: https://github.com/dotnetcore/FreeSql/discussions/1081
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ObjectPool_GetAsync_Queue_Long(System.Object,System.Object)">
- <summary>
- 【{policyName}】ObjectPool.GetAsync() The queue is too long. Policy.AsyncGetCapacity = {asyncGetCapacity}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.OneToMany_NotFound_CorrespondingField(System.Object,System.Object,System.Object,System.Object,System.Object)">
- <summary>
- 【OneToMany】导航属性 {trytbTypeName}.{pnvName} 在 {tbrefCsName} 中没有找到对应的字段,如:{findtrytb}{findtrytbPkCsName}、{findtrytb}_{findtrytbPkCsName}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.OneToMany_ParsingError_InconsistentType(System.Object,System.Object,System.Object,System.Object,System.Object,System.Object)">
- <summary>
- 【OneToMany】导航属性 {trytbTypeName}.{pnvName} 解析错误,{trytbCsName}.{trytbPrimarysCsName} 和 {tbrefCsName}.{trycolCsName} 类型不一致
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.OneToMany_UseNavigate(System.Object,System.Object)">
- <summary>
- 、{refpropName}{findtrytbPkCsName}、{refpropName}_{findtrytbPkCsName}。或者使用 [Navigate] 特性指定关系映射。
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Parameter_Field_NotSpecified">
- <summary>
- 参数 field 未指定
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ParameterError_NotValid_Collection(System.Object)">
- <summary>
- {property} 参数错误,它不是集合属性,必须为 IList<T> 或者 ICollection<T>
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ParameterError_NotValid_Navigation(System.Object)">
- <summary>
- {property} 参数错误,它不是有效的导航属性
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ParameterError_NotValid_PropertyName(System.Object,System.Object,System.Object)">
- <summary>
- {where} 参数错误,{keyval} 不是有效的属性名,在实体类 {reftbTypeDisplayCsharp} 无法找到
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.ParameterError_NotValid_UseCommas(System.Object)">
- <summary>
- {property} 参数错误,格式 "TopicId=Id,多组使用逗号连接"
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Parsing_Failed(System.Object,System.Object)">
- <summary>
- 解析失败 {callExpMethodName} {message}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Policy_ObjectPool_Dispose(System.Object)">
- <summary>
- 【{policyName}】The ObjectPool has been disposed, see: https://github.com/dotnetcore/FreeSql/discussions/1079
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Policy_Status_NotAvailable(System.Object,System.Object)">
- <summary>
- 【{policyName}】状态不可用,等待后台检查程序恢复方可使用。{UnavailableExceptionMessage}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Properties_AsRowLock_Must_Numeric_Byte(System.Object)">
- <summary>
- 属性{trytbVersionColumnCsName} 被标注为行锁(乐观锁)(IsVersion),但其必须为数字类型 或者 byte[] 或者 string,并且不可为 Nullable
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Properties_Cannot_Null">
- <summary>
- properties 参数不能为空
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Property_Cannot_Find(System.Object)">
- <summary>
- {property} 属性名无法找到
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Range_Comma_Separateda_By2Char">
- <summary>
- Range 要求 Value 应该逗号分割,并且长度为 2
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.RollBack">
- <summary>
- 回滚
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.RunTimeError_Reflection_IncludeMany">
- <summary>
- 运行时错误,反射获取 IncludeMany 方法失败
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_Access_InsertOnlyOneAtTime">
- <summary>
- 蛋疼的 Access 插入只能一条一条执行,不支持 values(..),(..) 也不支持 select .. UNION ALL select ..
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_BaseEntity_Initialization_Error">
- <summary>
- BaseEntity.Initialization 初始化错误,获取到 IFreeSql 是 null
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_BlockAccess_WaitForRecovery(System.Object,System.Object)">
- <summary>
- 【{thisName}】Block access and wait for recovery: {exMessage}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_CannotBeConverted_To_ISelect(System.Object)">
- <summary>
- 无法将 IQueryable<{typeofName}> 转换为 ISelect<{typeofName}>,因为他的实现不是 FreeSql.Extensions.Linq.QueryableProvider
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_ConnectionStringError">
- <summary>
- 连接字符串错误
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_ConnectionStringError_Check(System.Object)">
- <summary>
- 【{thisName}】连接字符串错误,请检查。
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_ConnectionStringError_CheckProject">
- <summary>
- 连接字符串错误,或者检查项目属性 > 生成 > 目标平台:x86 | x64,或者改用 FreeSql.Provider.SqliteCore 访问 arm 平台
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_ConnectionStringError_CheckProjectConnection(System.Object)">
- <summary>
- 【{thisName}】连接字符串错误,请检查。或者检查项目属性 > 生成 > 目标平台:x86 | x64,或者改用 FreeSql.Provider.SqliteCore 访问 arm 平台
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_CustomAdapter_Cannot_Use_CreateCommand">
- <summary>
- FreeSql.Provider.CustomAdapter 无法使用 CreateCommand
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_CustomAdapter_OnlySuppport_UseConnectionFactory">
- <summary>
- FreeSql.Provider.CustomAdapter 仅支持 UseConnectionFactory 方式构建 IFreeSql
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_Dameng_NotSupport_TablespaceSchemas(System.Object)">
- <summary>
- 达梦 CodeFirst 不支持代码创建 tablespace 与 schemas {tbname}
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_DB_Parameter_Error_NoConnectionString">
- <summary>
- -DB 参数错误,未提供 ConnectionString
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_DB_ParameterError">
- <summary>
- -DB 参数错误,格式为:MySql,ConnectionString
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_DB_ParameterError_UnsupportedType(System.Object)">
- <summary>
- -DB 参数错误,不支持的类型:"{dbargs}"
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_Features_Unique(System.Object,System.Object)">
- <summary>
- {method} 是 FreeSql.Provider.{provider} 特有的功能
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_InsertOrUpdate_Unable_UpdateColumns">
- <summary>
- fsql.InsertOrUpdate Sqlite 无法完成 UpdateColumns 操作
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_MasterDatabase">
- <summary>
- 主库
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_MygisGeometry_NotImplement(System.Object)">
- <summary>
- MygisGeometry.Parse 未实现 "{wkt}"
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_NameOptions_Incorrect">
- <summary>
- -NameOptions 参数错误,格式为:0,0,0,0
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_Not_Implemented_Feature">
- <summary>
- 未实现该功能
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_Not_Implemented_FeedBack">
- <summary>
- 未实现错误,请反馈给作者
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_NotFound_Name(System.Object)">
- <summary>
- 找不到 {name}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_NotImplementSkipOffset(System.Object)">
- <summary>
- FreeSql.Provider.{providerName} 未实现 Skip/Offset 功能,如果需要分页请使用判断上一次 id
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_ObjectPool">
- <summary>
- 对象池
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_OldTableExists(System.Object,System.Object)">
- <summary>
- 旧表(OldName):{tboldname} 存在,数据库已存在 {tbname} 表,无法改名
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_OnConflictDoUpdate_MustIsPrimary">
- <summary>
- OnConflictDoUpdate 功能要求实体类必须设置 IsPrimary 属性
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_Oracle_NotSupport_TablespaceSchemas(System.Object)">
- <summary>
- Oracle CodeFirst 不支持代码创建 tablespace 与 schemas {tbname}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_ParsingFailed_UseRestoreToSelect(System.Object,System.Object)">
- <summary>
- 解析失败 {callExpMethodName} {message},提示:可以使用扩展方法 IQueryable.RestoreToSelect() 还原为 ISelect 再查询
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_RequiresEntityPrimaryKey(System.Object,System.Object)">
- <summary>
- fsql.InsertOrUpdate + IfExistsDoNothing + {providerName}要求实体类 {tableCsName} 必须有主键
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_SelectManayErrorType(System.Object)">
- <summary>
- SelectMany 错误的类型:{typeFullName}
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.S_SlaveDatabase">
- <summary>
- 从库
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_Type_IsNot_Migrable(System.Object)">
- <summary>
- 类型 {objentityTypeFullName} 不可迁移
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_Type_IsNot_Migrable_0Attributes(System.Object)">
- <summary>
- 类型 {objentityTypeFullName} 不可迁移,可迁移属性0个
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_TypeMappingNotImplemented(System.Object)">
- <summary>
- 未实现 {columnDbTypeTextFull} 类型映射
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.S_WrongParameter(System.Object)">
- <summary>
- 错误的参数设置:{args}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Set_Column_IsNullable_False(System.Object)">
- <summary>
- {qoteSql} is NULL,除非设置特性 [Column(IsNullable = false)]
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.SubTableFieldValue_CannotLessThen(System.Object,System.Object)">
- <summary>
- 分表字段值 "{dt}" 不能小于 "{beginTime} "
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.SubTableFieldValue_IsNotNull">
- <summary>
- 分表字段值不能为 null
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.SubTableFieldValue_NotConvertDateTime(System.Object)">
- <summary>
- 分表字段值 "{columnValue}" 不能转化成 DateTime
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.SubTableFieldValue_NotMatchTable(System.Object)">
- <summary>
- 分表字段值 "{dt}" 未匹配到分表名
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.T2_Type_Error">
- <summary>
- T2 类型错误
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.TableName_Format_Error(System.Object)">
- <summary>
- tableName 格式错误,示例:“log_{yyyyMMdd}”
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Type_AsType_Parameter_Error(System.Object)">
- <summary>
- {Type}.AsType 参数错误,请传入正确的实体类型
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Type_Cannot_Access_Constructor(System.Object)">
- <summary>
- {thatFullName} 类型无法访问构造函数
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Type_Error_Name(System.Object)">
- <summary>
- {name} 类型错误
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.TypeAsType_NotSupport_Object(System.Object)">
- <summary>
- {Type}.AsType 参数不支持指定为 object
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.TypeError_CannotUse_IncludeMany(System.Object)">
- <summary>
- 类型 {typeofFullName} 错误,不能使用 IncludeMany
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Unable_Parse_Expression(System.Object)">
- <summary>
- 无法解析表达式:{exp}
- </summary>
- </member>
- <member name="M:FreeSql.CoreStrings.Unable_Parse_ExpressionMethod(System.Object)">
- <summary>
- 无法解析表达式方法 {exp3tmpCallMethodName}
- </summary>
- </member>
- <member name="P:FreeSql.CoreStrings.Use_InsertDict_Method">
- <summary>
- 请使用 fsql.InsertDict(dict) 方法插入字典数据
- </summary>
- </member>
- <member name="M:FreeSqlGlobalExpressionCallExtensions.Between(System.DateTime,System.DateTime,System.DateTime)">
- <summary>
- C#: that >= between && that <= and<para></para>
- SQL: that BETWEEN between AND and
- </summary>
- <param name="that"></param>
- <param name="between"></param>
- <param name="and"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExpressionCallExtensions.BetweenEnd(System.DateTime,System.DateTime,System.DateTime)">
- <summary>
- 注意:这个方法和 Between 有细微区别<para></para>
- C#: that >= start && that < end<para></para>
- SQL: that >= start and that < end
- </summary>
- <param name="that"></param>
- <param name="start"></param>
- <param name="end"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.DisplayCsharp(System.Type,System.Boolean)">
- <summary>
- 获取 Type 的原始 c# 文本表示
- </summary>
- <param name="type"></param>
- <param name="isNameSpace"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.Distance(System.Drawing.Point,System.Drawing.Point)">
- <summary>
- 测量两个经纬度的距离,返回单位:米
- </summary>
- <param name="that">经纬坐标1</param>
- <param name="point">经纬坐标2</param>
- <returns>返回距离(单位:米)</returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.AsSelect``1(System.Collections.Generic.IEnumerable{``0})">
- <summary>
- 将 IEnumable<T> 转成 ISelect<T>,以便使用 FreeSql 的查询功能。此方法用于 Lambda 表达式中,快速进行集合导航的查询。
- </summary>
- <typeparam name="TEntity"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.Select``2(IFreeSql)">
- <summary>
- 多表查询
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 本方法实现从已知的内存 List 数据,进行和 ISelect.IncludeMany 相同功能的贪婪加载<para></para>
- 示例:new List<Song>(new[] { song1, song2, song3 }).IncludeMany(fsql, a => a.Tags);<para></para>
- 文档:https://github.com/dotnetcore/FreeSql/wiki/%E8%B4%AA%E5%A9%AA%E5%8A%A0%E8%BD%BD
- </summary>
- <typeparam name="T1"></typeparam>
- <typeparam name="TNavigate"></typeparam>
- <param name="list"></param>
- <param name="orm"></param>
- <param name="navigateSelector">选择一个集合的导航属性,如: .IncludeMany(a => a.Tags)<para></para>
- 可以 .Where 设置临时的关系映射,如: .IncludeMany(a => a.Tags.Where(tag => tag.TypeId == a.Id))<para></para>
- 可以 .Take(5) 每个子集合只取5条,如: .IncludeMany(a => a.Tags.Take(5))<para></para>
- 可以 .Select 设置只查询部分字段,如: (a => new TNavigate { Title = a.Title })
- </param>
- <param name="then">即能 ThenInclude,还可以二次过滤(这个 EFCore 做不到?)</param>
- <returns></returns>
- </member>
- <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}}})">
- <summary>
- 本方法实现从已知的内存 List 数据,进行和 ISelect.IncludeMany/Include 相同功能的贪婪加载<para></para>
- 集合:new List<Song>(new[] { song1, song2, song3 }).IncludeByPropertyName(fsql, "Tags", "ParentId=Id", 5, "Id,Name");<para></para>
- 普通:new List<Song>(new[] { song1, song2, song3 }).IncludeByPropertyName(fsql, "Catetory"); <para></para>
- ---普通属性 where/take/select 参数将无效<para></para>
- 文档:https://github.com/dotnetcore/FreeSql/wiki/%E8%B4%AA%E5%A9%AA%E5%8A%A0%E8%BD%BD
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="list"></param>
- <param name="orm"></param>
- <param name="property">选择一个集合或普通属性</param>
- <param name="where">设置临时的子集合关系映射,格式:子类属性=T1属性,多组以逗号分割</param>
- <param name="take">设置子集合只取条数</param>
- <param name="select">设置子集合只查询部分字段</param>
- <returns></returns>
- <exception cref="T:System.ArgumentException"></exception>
- </member>
- <member name="M:FreeSqlGlobalExtensions.ToTreeList``1(FreeSql.ISelect{``0})">
- <summary>
- 查询数据,加工为树型 List 返回<para></para>
- 注意:实体需要配置父子导航属性
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.AsTreeCte``1(FreeSql.ISelect{``0},System.Linq.Expressions.Expression{System.Func{``0,System.String}},System.Boolean,System.String,System.Int32)">
- <summary>
- 使用递归 CTE 查询树型的所有子记录,或者所有父记录。<para></para>
- 通过测试的数据库:MySql8.0、SqlServer、PostgreSQL、Oracle、Sqlite、Firebird、达梦、人大金仓、翰高<para></para>
- 返回隐藏字段:.ToList(a => new { item = a, level = "a.cte_level", path = "a.cte_path" })<para></para>
- * v2.0.0 兼容 MySql5.6 向上或向下查询,但不支持 pathSelector/pathSeparator 详细:https://github.com/dotnetcore/FreeSql/issues/536
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="that"></param>
- <param name="up">false(默认):由父级向子级的递归查询<para></para>true:由子级向父级的递归查询</param>
- <param name="pathSelector">路径内容选择</param>
- <param name="pathSeparator">连接路径内容</param>
- <param name="level">递归层级</param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.OrderByRandom``2(FreeSql.ISelect0{``0,``1})">
- <summary>
- 随机排序<para></para>
- 支持:MySql/SqlServer/PostgreSQL/Oracle/Sqlite/Firebird/达梦/金仓/神通<para></para>
- 不支持:MsAcess
- </summary>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.InsertDict(IFreeSql,System.Collections.Generic.Dictionary{System.String,System.Object})">
- <summary>
- 插入数据字典 Dictionary<string, object>
- </summary>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.InsertDict(IFreeSql,System.Collections.Generic.IEnumerable{System.Collections.Generic.Dictionary{System.String,System.Object}})">
- <summary>
- 插入数据字典,传入 Dictionary<string, object> 集合
- </summary>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.UpdateDict(IFreeSql,System.Collections.Generic.Dictionary{System.String,System.Object})">
- <summary>
- 更新数据字典 Dictionary<string, object>
- </summary>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.UpdateDict(IFreeSql,System.Collections.Generic.IEnumerable{System.Collections.Generic.Dictionary{System.String,System.Object}})">
- <summary>
- 更新数据字典,传入 Dictionary<string, object> 集合
- </summary>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.InsertOrUpdateDict(IFreeSql,System.Collections.Generic.Dictionary{System.String,System.Object})">
- <summary>
- 插入或更新数据字典,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
- MySql 5.6+: on duplicate key update<para></para>
- PostgreSQL 9.4+: on conflict do update<para></para>
- SqlServer 2008+: merge into<para></para>
- Oracle 11+: merge into<para></para>
- Sqlite: replace into<para></para>
- 达梦: merge into<para></para>
- 人大金仓:on conflict do update<para></para>
- 神通:merge into<para></para>
- MsAccess:不支持<para></para>
- </summary>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.DeleteDict(IFreeSql,System.Collections.Generic.Dictionary{System.String,System.Object})">
- <summary>
- 删除数据字典 Dictionary<string, object>
- </summary>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:FreeSqlGlobalExtensions.DeleteDict(IFreeSql,System.Collections.Generic.IEnumerable{System.Collections.Generic.Dictionary{System.String,System.Object}})">
- <summary>
- 删除数据字典,传入 Dictionary<string, object> 集合
- </summary>
- <param name="source"></param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Boolean)">
- <summary>
- 将 lambda 表达式取反
- </summary>
- <param name="exp"></param>
- <param name="condition">true 时生效</param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``2(System.Linq.Expressions.Expression{System.Func{``0,``1,System.Boolean}},System.Boolean)">
- <summary>
- 将 lambda 表达式取反
- </summary>
- <param name="exp"></param>
- <param name="condition">true 时生效</param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``3(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,System.Boolean}},System.Boolean)">
- <summary>
- 将 lambda 表达式取反
- </summary>
- <param name="exp"></param>
- <param name="condition">true 时生效</param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``4(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,System.Boolean}},System.Boolean)">
- <summary>
- 将 lambda 表达式取反
- </summary>
- <param name="exp"></param>
- <param name="condition">true 时生效</param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 and 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <returns></returns>
- </member>
- <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}})">
- <summary>
- 使用 or 拼接两个 lambda 表达式
- </summary>
- <param name="exp1"></param>
- <param name="condition">true 时生效</param>
- <param name="exp2"></param>
- <returns></returns>
- </member>
- <member name="M:System.Linq.Expressions.LambadaExpressionExtensions.Not``5(System.Linq.Expressions.Expression{System.Func{``0,``1,``2,``3,``4,System.Boolean}},System.Boolean)">
- <summary>
- 将 lambda 表达式取反
- </summary>
- <param name="exp"></param>
- <param name="condition">true 时生效</param>
- <returns></returns>
- </member>
- <member name="M:FreeUtil.NewMongodbId">
- <summary>
- 生成类似Mongodb的ObjectId有序、不重复Guid
- </summary>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Insert``1">
- <summary>
- 插入数据
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Insert``1(``0)">
- <summary>
- 插入数据,传入实体
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Insert``1(``0[])">
- <summary>
- 插入数据,传入实体数组
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Insert``1(System.Collections.Generic.List{``0})">
- <summary>
- 插入数据,传入实体集合
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Insert``1(System.Collections.Generic.IEnumerable{``0})">
- <summary>
- 插入数据,传入实体集合
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.InsertOrUpdate``1">
- <summary>
- 插入或更新数据,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
- MySql 5.6+: on duplicate key update<para></para>
- PostgreSQL 9.4+: on conflict do update<para></para>
- SqlServer 2008+: merge into<para></para>
- Oracle 11+: merge into<para></para>
- Sqlite: replace into<para></para>
- 达梦: merge into<para></para>
- 人大金仓:on conflict do update<para></para>
- 神通:merge into<para></para>
- MsAccess:不支持<para></para>
- 注意区别:FreeSql.Repository 仓储也有 InsertOrUpdate 方法(不依赖数据库特性)
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Update``1">
- <summary>
- 修改数据
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Update``1(System.Object)">
- <summary>
- 修改数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Select``1">
- <summary>
- 查询数据
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Select``1(System.Object)">
- <summary>
- 查询数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Delete``1">
- <summary>
- 删除数据
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Delete``1(System.Object)">
- <summary>
- 删除数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Transaction(System.Action)">
- <summary>
- 开启事务(不支持异步)<para></para>
- v1.5.0 关闭了线程事务超时自动提交的机制
- </summary>
- <param name="handler">事务体 () => {}</param>
- </member>
- <member name="M:IFreeSql.Transaction(System.Data.IsolationLevel,System.Action)">
- <summary>
- 开启事务(不支持异步)<para></para>
- v1.5.0 关闭了线程事务超时自动提交的机制
- </summary>
- <param name="isolationLevel"></param>
- <param name="handler">事务体 () => {}</param>
- </member>
- <member name="P:IFreeSql.Ado">
- <summary>
- 数据库访问对象
- </summary>
- </member>
- <member name="P:IFreeSql.Aop">
- <summary>
- 所有拦截方法都在这里
- </summary>
- </member>
- <member name="P:IFreeSql.CodeFirst">
- <summary>
- CodeFirst 模式开发相关方法
- </summary>
- </member>
- <member name="P:IFreeSql.DbFirst">
- <summary>
- DbFirst 模式开发相关方法
- </summary>
- </member>
- <member name="P:IFreeSql.GlobalFilter">
- <summary>
- 全局过滤设置,可默认附加为 Select/Update/Delete 条件
- </summary>
- </member>
- </members>
- </doc>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Insert``1(System.Collections.Generic.List{``0})">
- <summary>
- 插入数据,传入实体集合
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Insert``1(System.Collections.Generic.IEnumerable{``0})">
- <summary>
- 插入数据,传入实体集合
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="source"></param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.InsertOrUpdate``1">
- <summary>
- 插入或更新数据,此功能依赖数据库特性(低版本可能不支持),参考如下:<para></para>
- MySql 5.6+: on duplicate key update<para></para>
- PostgreSQL 9.4+: on conflict do update<para></para>
- SqlServer 2008+: merge into<para></para>
- Oracle 11+: merge into<para></para>
- Sqlite: replace into<para></para>
- 达梦: merge into<para></para>
- 人大金仓:on conflict do update<para></para>
- 神通:merge into<para></para>
- MsAccess:不支持<para></para>
- 注意区别:FreeSql.Repository 仓储也有 InsertOrUpdate 方法(不依赖数据库特性)
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Update``1">
- <summary>
- 修改数据
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Update``1(System.Object)">
- <summary>
- 修改数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Select``1">
- <summary>
- 查询数据
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Select``1(System.Object)">
- <summary>
- 查询数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Delete``1">
- <summary>
- 删除数据
- </summary>
- <typeparam name="T1"></typeparam>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Delete``1(System.Object)">
- <summary>
- 删除数据,传入动态条件,如:主键值 | new[]{主键值1,主键值2} | TEntity1 | new[]{TEntity1,TEntity2} | new{id=1}
- </summary>
- <typeparam name="T1"></typeparam>
- <param name="dywhere">主键值、主键值集合、实体、实体集合、匿名对象、匿名对象集合</param>
- <returns></returns>
- </member>
- <member name="M:IFreeSql.Transaction(System.Action)">
- <summary>
- 开启事务(不支持异步)<para></para>
- v1.5.0 关闭了线程事务超时自动提交的机制
- </summary>
- <param name="handler">事务体 () => {}</param>
- </member>
- <member name="M:IFreeSql.Transaction(System.Data.IsolationLevel,System.Action)">
- <summary>
- 开启事务(不支持异步)<para></para>
- v1.5.0 关闭了线程事务超时自动提交的机制
- </summary>
- <param name="isolationLevel"></param>
- <param name="handler">事务体 () => {}</param>
- </member>
- <member name="P:IFreeSql.Ado">
- <summary>
- 数据库访问对象
- </summary>
- </member>
- <member name="P:IFreeSql.Aop">
- <summary>
- 所有拦截方法都在这里
- </summary>
- </member>
- <member name="P:IFreeSql.CodeFirst">
- <summary>
- CodeFirst 模式开发相关方法
- </summary>
- </member>
- <member name="P:IFreeSql.DbFirst">
- <summary>
- DbFirst 模式开发相关方法
- </summary>
- </member>
- <member name="P:IFreeSql.GlobalFilter">
- <summary>
- 全局过滤设置,可默认附加为 Select/Update/Delete 条件
- </summary>
- </member>
- </members>
- </doc>
|