Int32() public method

public Int32 ( $Name, $PrimaryKey = false ) : Column
return Column
Exemplo n.º 1
0
 protected function CreateTableStructure(IColumnSet $Column)
 {
     $this->Id = $Column->IncrementInt32('Id');
     $this->Name = $Column->String('Name', 50);
     $this->Description = $Column->String('Description', 255);
     $this->Number = $Column->Int32('Number');
 }
Exemplo n.º 2
0
 protected function CreateTableStructure(IColumnSet $Column)
 {
     $this->BlogId = $Column->IncrementInt32('BlogId');
     $this->AuthorId = $Column->Int32('AuthorId');
     $this->Title = $Column->String('Title', 50, true);
     $this->Content = $Column->String('Content', 2000);
     $this->CreatedDate = $Column->DateTime('CreatedDate');
 }
Exemplo n.º 3
0
 protected function CreateTableStructure(IColumnSet $Column)
 {
     $this->PostBlogId = $Column->Int32('PostBlogId', true);
     $this->PostTitle = $Column->String('PostTitle', 50, true);
     $this->TagId = $Column->Int32('TagId', true);
 }