RuAdvEntry - helper class for Russian adverb word entry creation

This is a helper class for Russian adverb creation.

The constructor gets the basic form of adverb and optional comparative form.

Source code

File RuAdvEntry.cs

Samples

C# sample for adverb creation:

   System.Data.Odbc.OdbcConnection cnx = new System.Data.Odbc.OdbcConnection("Dsn=solarix_mysql;uid=root;");
   cnx.Open();
   Solarix.MySQL_DataAccessLayer dal = new Solarix.MySQL_DataAccessLayer(cnx);
   Solarix.Dictionary dict = new Solarix.Dictionary(dal);
   
   // ...
   
   dal.BeginTx(); // start new transaction
   WordEntry new_adv = new RuAdvEntry( dict, "кавайно", "кавайнее" );
   dict.entries.Add( new_adv );
   dal.CommitTx(); // commit transaction, make the new entry persistent
   

Navigation

Back to ORM main page

Russian version of this page

  © Козиев Илья 2019
changed 13-Mar-11