/// <summary> /// Deprecated Method for adding a new object to the SqLite EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSqLite(SqLite sqLite) { base.AddObject("SqLite", sqLite); }
/// <summary> /// Create a new SqLite object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="value">Initial value of the Value property.</param> public static SqLite CreateSqLite(global::System.Guid id, global::System.String name, global::System.Double value) { SqLite sqLite = new SqLite(); sqLite.Id = id; sqLite.Name = name; sqLite.Value = value; return sqLite; }
private static void WriteSqLiteResult(string header, SqLite result) { Console.Write(header); Console.WriteLine(result != null ? String.Format("Id:{0}, Name:{1}, Value:{2}", result.Id, result.Name, result.Value) : "----- None -----"); }