/// <summary> /// Deprecated Method for adding a new object to the Translations1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTranslations1(Translation translation) { base.AddObject("Translations1", translation); }
/// <summary> /// Create a new Translation object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="basewordFromId">Initial value of the BasewordFromId property.</param> /// <param name="basewordToId">Initial value of the BasewordToId property.</param> public static Translation CreateTranslation(global::System.Int32 id, global::System.Int32 basewordFromId, global::System.Int32 basewordToId) { Translation translation = new Translation(); translation.Id = id; translation.BasewordFromId = basewordFromId; translation.BasewordToId = basewordToId; return translation; }