/// <summary> /// Deprecated Method for adding a new object to the Dejnosti EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDejnosti(Dejnosti dejnosti) { base.AddObject("Dejnosti", dejnosti); }
/// <summary> /// Create a new Dejnosti object. /// </summary> /// <param name="idDejnost">Initial value of the IdDejnost property.</param> /// <param name="sifraDejnost">Initial value of the SifraDejnost property.</param> /// <param name="popustDejnost">Initial value of the PopustDejnost property.</param> public static Dejnosti CreateDejnosti(global::System.Int32 idDejnost, global::System.Int32 sifraDejnost, global::System.Double popustDejnost) { Dejnosti dejnosti = new Dejnosti(); dejnosti.IdDejnost = idDejnost; dejnosti.SifraDejnost = sifraDejnost; dejnosti.PopustDejnost = popustDejnost; return dejnosti; }