/// <summary> /// Deprecated Method for adding a new object to the TinTucs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTinTucs(TinTuc tinTuc) { base.AddObject("TinTucs", tinTuc); }
/// <summary> /// Create a new TinTuc object. /// </summary> /// <param name="iDTinTuc">Initial value of the IDTinTuc property.</param> /// <param name="iDLoaiTin">Initial value of the IDLoaiTin property.</param> public static TinTuc CreateTinTuc(global::System.Int32 iDTinTuc, global::System.Int32 iDLoaiTin) { TinTuc tinTuc = new TinTuc(); tinTuc.IDTinTuc = iDTinTuc; tinTuc.IDLoaiTin = iDLoaiTin; return tinTuc; }