<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>http://wiki.sage.fr/index.php?action=history&amp;feed=atom&amp;title=OID_%28Instance%29</id>
	<title>OID (Instance) - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.sage.fr/index.php?action=history&amp;feed=atom&amp;title=OID_%28Instance%29"/>
	<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=OID_(Instance)&amp;action=history"/>
	<updated>2026-05-25T01:15:26Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://wiki.sage.fr/index.php?title=OID_(Instance)&amp;diff=949&amp;oldid=prev</id>
		<title>Syfre le 25 juillet 2009 à 15:40</title>
		<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=OID_(Instance)&amp;diff=949&amp;oldid=prev"/>
		<updated>2009-07-25T15:40:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 25 juillet 2009 à 15:40&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&#039;delphi&#039;&amp;gt;property OID:TOID&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:TitObject&lt;/del&gt;;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&#039;delphi&#039;&amp;gt;property OID:TOID;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Lecture/Ecriture&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Lecture/Ecriture&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syfre</name></author>
	</entry>
	<entry>
		<id>http://wiki.sage.fr/index.php?title=OID_(Instance)&amp;diff=943&amp;oldid=prev</id>
		<title>Syfre : Nouvelle page : &lt;source lang=&#039;delphi&#039;&gt;property OID:TOID:TitObject;&lt;/source&gt;  &#039;&#039;&#039;Lecture/Ecriture&#039;&#039;&#039;  Cette propriété retourne l&#039;identifiant de l&#039;objet.  En lecture: *Retourne l&#039;identifiant de l&#039;ob...</title>
		<link rel="alternate" type="text/html" href="http://wiki.sage.fr/index.php?title=OID_(Instance)&amp;diff=943&amp;oldid=prev"/>
		<updated>2009-07-25T15:19:55Z</updated>

		<summary type="html">&lt;p&gt;Nouvelle page : &amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;property OID:TOID:TitObject;&amp;lt;/source&amp;gt;  &amp;#039;&amp;#039;&amp;#039;Lecture/Ecriture&amp;#039;&amp;#039;&amp;#039;  Cette propriété retourne l&amp;#039;identifiant de l&amp;#039;objet.  En lecture: *Retourne l&amp;#039;identifiant de l&amp;#039;ob...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;property OID:TOID:TitObject;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Lecture/Ecriture&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Cette propriété retourne l&amp;#039;identifiant de l&amp;#039;objet.&lt;br /&gt;
&lt;br /&gt;
En lecture:&lt;br /&gt;
*Retourne l&amp;#039;identifiant de l&amp;#039;objet si celui-ci n&amp;#039;est pas en création.&lt;br /&gt;
*Retourne &amp;#039;&amp;#039; si l&amp;#039;objet est en création.&lt;br /&gt;
&lt;br /&gt;
En écriture:&lt;br /&gt;
*Affecter l&amp;#039;OID provoque le chargement de l&amp;#039;objet, si l&amp;#039;objet n&amp;#039;existe pas une exception est levée.&lt;br /&gt;
&lt;br /&gt;
Exemple:&lt;br /&gt;
&amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;&lt;br /&gt;
procedure foo();&lt;br /&gt;
begin&lt;br /&gt;
  if OID&amp;lt;&amp;gt;&amp;#039;&amp;#039; then &lt;br /&gt;
   begin&lt;br /&gt;
     // l&amp;#039;objet n&amp;#039;est pas en création&lt;br /&gt;
     ...&lt;br /&gt;
   end;&lt;br /&gt;
end;&lt;br /&gt;
&lt;br /&gt;
function loadThisObject(const iOID:TOID):MyClass;&lt;br /&gt;
begin&lt;br /&gt;
  Result := MyClass.Create;&lt;br /&gt;
  Result.OID := iOID;&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voir aussi:&lt;br /&gt;
&lt;br /&gt;
*[[InstanceOID (Instance)|InstanceOID]]&lt;br /&gt;
&lt;br /&gt;
{{Footer|Objets métiers (tech)}}&lt;br /&gt;
[[category:Objets métiers]]&lt;/div&gt;</summary>
		<author><name>Syfre</name></author>
	</entry>
</feed>