Files
FreeSql/api/FreeSql.DataAnnotations.html
2023-07-07 17:27:43 +00:00

169 lines
7.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Namespace FreeSql.DataAnnotations
| FreeSql API Docs </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Namespace FreeSql.DataAnnotations
| FreeSql API Docs ">
<meta name="generator" content="docfx 2.59.4.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src=".././images/logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="FreeSql.DataAnnotations">
<h1 id="FreeSql_DataAnnotations" data-uid="FreeSql.DataAnnotations" class="text-break">Namespace FreeSql.DataAnnotations
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>
<div class="markdown level0 remarks"></div>
<h3 id="classes">Classes
</h3>
<h4><a class="xref" href="FreeSql.DataAnnotations.ColumnAttribute.html">ColumnAttribute</a></h4>
<section></section>
<h4><a class="xref" href="FreeSql.DataAnnotations.ColumnFluent.html">ColumnFluent</a></h4>
<section></section>
<h4><a class="xref" href="FreeSql.DataAnnotations.ExpressionCallAttribute.html">ExpressionCallAttribute</a></h4>
<section><p>自定义表达式函数解析<p>
注意:请使用静态方法、或者在类上标记</p>
</section>
<h4><a class="xref" href="FreeSql.DataAnnotations.ExpressionCallContext.html">ExpressionCallContext</a></h4>
<section></section>
<h4><a class="xref" href="FreeSql.DataAnnotations.IndexAttribute.html">IndexAttribute</a></h4>
<section><p>索引设置,如:[Index(&quot;{tablename}_idx_01&quot;, &quot;name&quot;)]</p>
</section>
<h4><a class="xref" href="FreeSql.DataAnnotations.NavigateAttribute.html">NavigateAttribute</a></h4>
<section><p>OneToOne[Navigate(nameof(Primary))] &lt;-&gt; (缺省)外表.Primary<p>
ManyToOneTopic.cs 文件 [Navigate(nameof(Topic.CategoryId))] &lt;-&gt; (缺省)Category.Id<p>
_________________public Category Category { get; set; }<p>
OneToManyCategory.cs 文件 (缺省)Category.Id &lt;-&gt; [Navigate(nameof(Topic.CategoryId))]<p>
_________________public List&lt;Topic&gt; Topics { get; set; }<p>
</section>
<h4><a class="xref" href="FreeSql.DataAnnotations.OraclePrimaryKeyNameAttribute.html">OraclePrimaryKeyNameAttribute</a></h4>
<section></section>
<h4><a class="xref" href="FreeSql.DataAnnotations.RawValueAttribute.html">RawValueAttribute</a></h4>
<section><p>自定义表达式函数解析的时候,指定参数不解析 SQL而是直接传进来</p>
</section>
<h4><a class="xref" href="FreeSql.DataAnnotations.TableAttribute.html">TableAttribute</a></h4>
<section></section>
<h4><a class="xref" href="FreeSql.DataAnnotations.TableFluent.html">TableFluent</a></h4>
<section></section>
<h4><a class="xref" href="FreeSql.DataAnnotations.TableFluent-1.html">TableFluent&lt;T&gt;</a></h4>
<section></section>
<h3 id="interfaces">Interfaces
</h3>
<h4><a class="xref" href="FreeSql.DataAnnotations.ExpressionCallContext.IUtility.html">ExpressionCallContext.IUtility</a></h4>
<section></section>
<h4><a class="xref" href="FreeSql.DataAnnotations.IAsTable.html">IAsTable</a></h4>
<section></section>
<h3 id="enums">Enums
</h3>
<h4><a class="xref" href="FreeSql.DataAnnotations.IndexMethod.html">IndexMethod</a></h4>
<section><p>暂时只有 FreeSql.Provider.PostgreSQL 有效</p>
</section>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>