/// <summary> /// Create an instance of a class that implements QvxConnection, /// in this case a QvFacebookConnection. /// </summary> /// <returns>The created QvxConnection.</returns> public override QvxConnection CreateConnection() { if (_qvxConnection == null) { _qvxConnection = new QvFacebookConnection(); } return(_qvxConnection); }
/// <summary> /// Constructor for EntertainmentTableCreator. /// </summary> /// <param name="tableName">Name of the QvxTable.</param> /// <param name="facebookConnection">The facebook connection.</param> public EntertainmentTableCreator(string tableName, QvFacebookConnection facebookConnection) { _facebookConnection = facebookConnection; _tableName = tableName; CreateTable(); }
/// <summary> /// Constructor for PersonsTableCreator. /// </summary> /// <param name="tableName">Name of the QvxTable.</param> /// <param name="facebookConnection">The facebook connection.</param> public PersonsTableCreator(string tableName, QvFacebookConnection facebookConnection) { _facebookConnection = facebookConnection; _tableName = tableName; CreateTable(); }