Ejemplo n.º 1
0
        static void _DBInsertSentences(DataClassesDataContext db, ExampleSentence es, ewords word)
        {
            sentences insertone = new sentences
            {
                eword_id = word.eword_id,
                sentence = es.Sentence,
                chinese  = es.Chinese
            };

            db.sentences.InsertOnSubmit(insertone);
        }
Ejemplo n.º 2
0
 partial void Deletesentences(sentences instance);
Ejemplo n.º 3
0
 partial void Updatesentences(sentences instance);
Ejemplo n.º 4
0
 partial void Insertsentences(sentences instance);
Ejemplo n.º 5
0
 private void detach_sentences(sentences entity)
 {
     this.SendPropertyChanging();
     entity.ewords = null;
 }
Ejemplo n.º 6
0
 private void attach_sentences(sentences entity)
 {
     this.SendPropertyChanging();
     entity.ewords = this;
 }