コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: jascenci/MS
 /// <summary>
 /// Deprecated Method for adding a new object to the tblInvoiceTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblInvoiceTypes(tblInvoiceType tblInvoiceType)
 {
     base.AddObject("tblInvoiceTypes", tblInvoiceType);
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: jascenci/MS
 /// <summary>
 /// Create a new tblInvoiceType object.
 /// </summary>
 /// <param name="idInvoiceType">Initial value of the idInvoiceType property.</param>
 /// <param name="nameInvoiceType">Initial value of the nameInvoiceType property.</param>
 /// <param name="dateCreated">Initial value of the dateCreated property.</param>
 /// <param name="dateModified">Initial value of the dateModified property.</param>
 /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param>
 /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param>
 public static tblInvoiceType CreatetblInvoiceType(global::System.Int32 idInvoiceType, global::System.String nameInvoiceType, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblInvoiceType tblInvoiceType = new tblInvoiceType();
     tblInvoiceType.idInvoiceType = idInvoiceType;
     tblInvoiceType.nameInvoiceType = nameInvoiceType;
     tblInvoiceType.dateCreated = dateCreated;
     tblInvoiceType.dateModified = dateModified;
     tblInvoiceType.CreatedByLogin = createdByLogin;
     tblInvoiceType.ModifiedByLogin = modifiedByLogin;
     return tblInvoiceType;
 }