C# Class SIL.FieldWorks.FDO.DomainImpl.ScrBookFactory

Show file Open project: sillsdev/FieldWorks

Public Methods

Method Description
Create ( IFdoOwningSequence booksOS, int bookNumber ) : IScrBook

Initializes a new instance of the IScrBook class and adds it to the given sequence.

Create ( IFdoOwningSequence booksOS, int bookNumber, IStText &title ) : IScrBook

Initializes a new instance of the IScrBook class and adds it to the given sequence. Also creates a new StText for the ScrBook's Title property.

Create ( int bookNumber ) : IScrBook

Initializes a new instance of the IScrBook class and adds it to the IScripture.

Create ( int bookNumber, IStText &title ) : IScrBook

Initializes a new instance of the IScrBook class and adds it to the IScripture. Also creates a new StText for the ScrBook's Title property.

Method Details

Create() public method

Initializes a new instance of the IScrBook class and adds it to the given sequence.
If this method is called with a /// canonical book number which is already represented in the given sequence
public Create ( IFdoOwningSequence booksOS, int bookNumber ) : IScrBook
booksOS IFdoOwningSequence Owning sequence of books to add the new book to
bookNumber int Canonical book number to be inserted
return IScrBook

Create() public method

Initializes a new instance of the IScrBook class and adds it to the given sequence. Also creates a new StText for the ScrBook's Title property.
If this method is called with a /// canonical book number which is already represented in the given sequence
public Create ( IFdoOwningSequence booksOS, int bookNumber, IStText &title ) : IScrBook
booksOS IFdoOwningSequence Owning sequence of books to add the new book to
bookNumber int Canonical book number to be inserted
title IStText The title StText created for the new book
return IScrBook

Create() public method

Initializes a new instance of the IScrBook class and adds it to the IScripture.
If this method is called with a /// canonical book number which is already represented in the database
public Create ( int bookNumber ) : IScrBook
bookNumber int Canonical book number to be inserted
return IScrBook

Create() public method

Initializes a new instance of the IScrBook class and adds it to the IScripture. Also creates a new StText for the ScrBook's Title property.
If this method is called with a /// canonical book number which is already represented in the database
public Create ( int bookNumber, IStText &title ) : IScrBook
bookNumber int Canonical book number to be inserted
title IStText The title StText created for the new book
return IScrBook