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