/// <summary> /// Create a new Cat object. /// </summary> /// <param name="categoryId">Initial value of CategoryId.</param> public static Cat CreateCat(long categoryId) { Cat cat = new Cat(); cat.CategoryId = categoryId; return cat; }
/// <summary> /// Deprecated Method for adding a new object to the Cats EntitySet. /// </summary> public void AddToCats(Cat cat) { base.AddObject("Cats", cat); }