Chili.Opf3 Send comments on this topic.
SequenceFormat Property
See Also  Example
Chili.Opf3.Storages.Oracle Namespace > OracleStorage Class : SequenceFormat Property




Specifies the format string for sequences.

Syntax

Visual Basic (Declaration) 
Public Property SequenceFormat As String
Visual Basic (Usage)Copy Code
Dim instance As OracleStorage
Dim value As String
 
instance.SequenceFormat = value
 
value = instance.SequenceFormat
C# 
public string SequenceFormat {get; set;}
Managed Extensions for C++ 
public: __property string* get_SequenceFormat();
public: __property void set_SequenceFormat( 
   string* value
);
C++/CLI 
public:
property String^ SequenceFormat {
   String^ get();
   void set (String^ value);
}

Example

This example shows the sequence format strings for an entity named "USER". The sequence is generated for the field "ID".
C#Copy Code
    {0}Sequence = USERSequence 
    {0}_s1 = USER_s1 
    {0}{1}Sequence = USERIDSequence 
    {0}_s{1} = USER_sID

Remarks

The SequenceFormat string allows you to specify a format string for the sequence names. The default value for a sequence is {0}Sequence. {0} stands for the name of the entity for which this sequence is generated. You may also add {1} which is then the name of the field for which the sequence is create.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also