/// <summary> /// Deprecated Method for adding a new object to the Perfis EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPerfis(Perfil perfil) { base.AddObject("Perfis", perfil); }
/// <summary> /// Create a new Perfil object. /// </summary> /// <param name="descricao">Initial value of the Descricao property.</param> /// <param name="id">Initial value of the Id property.</param> public static Perfil CreatePerfil(global::System.String descricao, global::System.Int64 id) { Perfil perfil = new Perfil(); perfil.Descricao = descricao; perfil.Id = id; return perfil; }